Record Class VulkanPhysicalDeviceIDProperties
java.lang.Object
java.lang.Record
com.io7m.jcoronado.api.VulkanPhysicalDeviceIDProperties
- Record Components:
deviceUUID- A universally unique identifier for the devicedriverUUID- A universally unique identifier for the driver build in use by the devicedeviceLUID- A locally unique identifier for the devicedeviceNodeMask- A bitfield identifying the node within a linked device adapter corresponding to the devicedeviceLUIDValid- A boolean value that will betrueif deviceLUID contains a valid LUID and deviceNodeMask contains a valid node mask, andfalseif they do not
public record VulkanPhysicalDeviceIDProperties(UUID deviceUUID, UUID driverUUID, UUID deviceLUID, int deviceNodeMask, boolean deviceLUIDValid)
extends Record
The ID properties for the device.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVulkanPhysicalDeviceIDProperties(UUID deviceUUID, UUID driverUUID, UUID deviceLUID, int deviceNodeMask, boolean deviceLUIDValid) The ID properties for the device. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeviceLUIDrecord component.booleanReturns the value of thedeviceLUIDValidrecord component.intReturns the value of thedeviceNodeMaskrecord component.Returns the value of thedeviceUUIDrecord component.Returns the value of thedriverUUIDrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VulkanPhysicalDeviceIDProperties
public VulkanPhysicalDeviceIDProperties(UUID deviceUUID, UUID driverUUID, UUID deviceLUID, int deviceNodeMask, boolean deviceLUIDValid) The ID properties for the device.- Parameters:
deviceUUID- A universally unique identifier for the devicedriverUUID- A universally unique identifier for the driver build in use by the devicedeviceLUID- A locally unique identifier for the devicedeviceNodeMask- A bitfield identifying the node within a linked device adapter corresponding to the devicedeviceLUIDValid- A boolean value that will betrueif deviceLUID contains a valid LUID and deviceNodeMask contains a valid node mask, andfalseif they do not- See Also:
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
deviceUUID
Returns the value of thedeviceUUIDrecord component.- Returns:
- the value of the
deviceUUIDrecord component
-
driverUUID
Returns the value of thedriverUUIDrecord component.- Returns:
- the value of the
driverUUIDrecord component
-
deviceLUID
Returns the value of thedeviceLUIDrecord component.- Returns:
- the value of the
deviceLUIDrecord component
-
deviceNodeMask
public int deviceNodeMask()Returns the value of thedeviceNodeMaskrecord component.- Returns:
- the value of the
deviceNodeMaskrecord component
-
deviceLUIDValid
public boolean deviceLUIDValid()Returns the value of thedeviceLUIDValidrecord component.- Returns:
- the value of the
deviceLUIDValidrecord component
-