Record Class VulkanQueueFamilyIndex
java.lang.Object
java.lang.Record
com.io7m.jcoronado.api.VulkanQueueFamilyIndex
- Record Components:
value- The actual index value
- All Implemented Interfaces:
Comparable<VulkanQueueFamilyIndex>
public record VulkanQueueFamilyIndex(int value)
extends Record
implements Comparable<VulkanQueueFamilyIndex>
The index of a queue family.
-
Constructor Summary
ConstructorsConstructorDescriptionVulkanQueueFamilyIndex(int value) Creates an instance of aVulkanQueueFamilyIndexrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(VulkanQueueFamilyIndex other) final booleanIndicates whether some other object is "equal to" this one.static VulkanQueueFamilyIndexexternal()final inthashCode()Returns a hash code value for this object.static VulkanQueueFamilyIndexignored()final StringtoString()Returns a string representation of this record class.intvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
VulkanQueueFamilyIndex
public VulkanQueueFamilyIndex(int value) Creates an instance of aVulkanQueueFamilyIndexrecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
ignored
- Returns:
- The special queue family index that indicates that a queue family parameter or member is ignored.
- See Also:
-
external
- Returns:
- The special queue family index that represents any queue external to the resource's current Vulkan instance.
- See Also:
-
compareTo
- Specified by:
compareToin interfaceComparable<VulkanQueueFamilyIndex>
-
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. -
value
-