Record Class VulkanQueue
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.VulkanQueue
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thequeueFamilyIndexrecord component.private final VkQueueThe field for thevkQueuerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionVulkanQueue(VulkanDevice device, int queueFamilyIndex, int queueIndex) VulkanQueue(VkQueue vkQueue, int queueFamilyIndex) Creates an instance of aVulkanQueuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.private static longfetchVkQueue(VulkanDevice device, int queueFamilyIndex, int queueIndex) final inthashCode()Returns a hash code value for this object.intReturns the value of thequeueFamilyIndexrecord component.final StringtoString()Returns a string representation of this record class.vkQueue()Returns the value of thevkQueuerecord component.voidwaitIdle()
-
Field Details
-
vkQueue
The field for thevkQueuerecord component. -
queueFamilyIndex
private final int queueFamilyIndexThe field for thequeueFamilyIndexrecord component.
-
-
Constructor Details
-
VulkanQueue
-
VulkanQueue
Creates an instance of aVulkanQueuerecord class.- Parameters:
vkQueue- the value for thevkQueuerecord componentqueueFamilyIndex- the value for thequeueFamilyIndexrecord component
-
-
Method Details
-
fetchVkQueue
-
beginSubmit
-
waitIdle
public void waitIdle() -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
vkQueue
Returns the value of thevkQueuerecord component.- Returns:
- the value of the
vkQueuerecord component
-
queueFamilyIndex
public int queueFamilyIndex()Returns the value of thequeueFamilyIndexrecord component.- Returns:
- the value of the
queueFamilyIndexrecord component
-