Record Class VulkanQueue.Submission.SemaphoreOp

java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.VulkanQueue.Submission.SemaphoreOp
Enclosing class:
VulkanQueue.Submission

private static record VulkanQueue.Submission.SemaphoreOp(long vkSemaphore, long value, long stageMask) extends Record
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final long
    The field for the stageMask record component.
    private final long
    The field for the value record component.
    private final long
    The field for the vkSemaphore record component.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    SemaphoreOp(long vkSemaphore, long value, long stageMask)
    Creates an instance of a SemaphoreOp record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the stageMask record component.
    final String
    Returns a string representation of this record class.
    long
    Returns the value of the value record component.
    long
    Returns the value of the vkSemaphore record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • vkSemaphore

      private final long vkSemaphore
      The field for the vkSemaphore record component.
    • value

      private final long value
      The field for the value record component.
    • stageMask

      private final long stageMask
      The field for the stageMask record component.
  • Constructor Details

    • SemaphoreOp

      private SemaphoreOp(long vkSemaphore, long value, long stageMask)
      Creates an instance of a SemaphoreOp record class.
      Parameters:
      vkSemaphore - the value for the vkSemaphore record component
      value - the value for the value record component
      stageMask - the value for the stageMask record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • vkSemaphore

      public long vkSemaphore()
      Returns the value of the vkSemaphore record component.
      Returns:
      the value of the vkSemaphore record component
    • value

      public long value()
      Returns the value of the value record component.
      Returns:
      the value of the value record component
    • stageMask

      public long stageMask()
      Returns the value of the stageMask record component.
      Returns:
      the value of the stageMask record component