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
FieldsModifier and TypeFieldDescriptionprivate final longThe field for thestageMaskrecord component.private final longThe field for thevaluerecord component.private final longThe field for thevkSemaphorerecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSemaphoreOp(long vkSemaphore, long value, long stageMask) Creates an instance of aSemaphoreOprecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of thestageMaskrecord component.final StringtoString()Returns a string representation of this record class.longvalue()Returns the value of thevaluerecord component.longReturns the value of thevkSemaphorerecord component.
-
Field Details
-
vkSemaphore
private final long vkSemaphoreThe field for thevkSemaphorerecord component. -
value
private final long valueThe field for thevaluerecord component. -
stageMask
private final long stageMaskThe field for thestageMaskrecord component.
-
-
Constructor Details
-
SemaphoreOp
private SemaphoreOp(long vkSemaphore, long value, long stageMask) Creates an instance of aSemaphoreOprecord class.- Parameters:
vkSemaphore- the value for thevkSemaphorerecord componentvalue- the value for thevaluerecord componentstageMask- the value for thestageMaskrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 thecomparemethod from their corresponding wrapper classes. -
vkSemaphore
public long vkSemaphore()Returns the value of thevkSemaphorerecord component.- Returns:
- the value of the
vkSemaphorerecord component
-
value
public long value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
stageMask
public long stageMask()Returns the value of thestageMaskrecord component.- Returns:
- the value of the
stageMaskrecord component
-