Record Class VulkanQueue.Submission.SubmitStage
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.VulkanQueue.Submission.SubmitStage
- Enclosing class:
VulkanQueue.Submission
private static record VulkanQueue.Submission.SubmitStage(List<VulkanQueue.Submission.SemaphoreOp> waits, List<VkCommandBuffer> commandBuffers, List<VulkanQueue.Submission.SemaphoreOp> signals)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<VkCommandBuffer> The field for thecommandBuffersrecord component.private final List<VulkanQueue.Submission.SemaphoreOp> The field for thesignalsrecord component.private final List<VulkanQueue.Submission.SemaphoreOp> The field for thewaitsrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSubmitStage(List<VulkanQueue.Submission.SemaphoreOp> waits, List<VkCommandBuffer> commandBuffers, List<VulkanQueue.Submission.SemaphoreOp> signals) Creates an instance of aSubmitStagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecommandBuffersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.signals()Returns the value of thesignalsrecord component.final StringtoString()Returns a string representation of this record class.waits()Returns the value of thewaitsrecord component.
-
Field Details
-
waits
The field for thewaitsrecord component. -
commandBuffers
The field for thecommandBuffersrecord component. -
signals
The field for thesignalsrecord component.
-
-
Constructor Details
-
SubmitStage
public SubmitStage() -
SubmitStage
private SubmitStage(List<VulkanQueue.Submission.SemaphoreOp> waits, List<VkCommandBuffer> commandBuffers, List<VulkanQueue.Submission.SemaphoreOp> signals) Creates an instance of aSubmitStagerecord class.- Parameters:
waits- the value for thewaitsrecord componentcommandBuffers- the value for thecommandBuffersrecord componentsignals- the value for thesignalsrecord 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 withObjects::equals(Object,Object). -
waits
Returns the value of thewaitsrecord component.- Returns:
- the value of the
waitsrecord component
-
commandBuffers
Returns the value of thecommandBuffersrecord component.- Returns:
- the value of the
commandBuffersrecord component
-
signals
Returns the value of thesignalsrecord component.- Returns:
- the value of the
signalsrecord component
-