Record Class VulkanUtils.DeviceUUID
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.VulkanUtils.DeviceUUID
- Enclosing class:
VulkanUtils
public static record VulkanUtils.DeviceUUID(int driverID, int vendorID, int deviceID)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeviceUUID(int driverID, int vendorID, int deviceID) Creates an instance of aDeviceUUIDrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintdeviceID()Returns the value of thedeviceIDrecord component.intdriverID()Returns the value of thedriverIDrecord 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.intvendorID()Returns the value of thevendorIDrecord component.
-
Field Details
-
driverID
private final int driverIDThe field for thedriverIDrecord component. -
vendorID
private final int vendorIDThe field for thevendorIDrecord component. -
deviceID
private final int deviceIDThe field for thedeviceIDrecord component.
-
-
Constructor Details
-
DeviceUUID
public DeviceUUID(int driverID, int vendorID, int deviceID) Creates an instance of aDeviceUUIDrecord class.- Parameters:
driverID- the value for thedriverIDrecord componentvendorID- the value for thevendorIDrecord componentdeviceID- the value for thedeviceIDrecord 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. -
driverID
public int driverID()Returns the value of thedriverIDrecord component.- Returns:
- the value of the
driverIDrecord component
-
vendorID
public int vendorID()Returns the value of thevendorIDrecord component.- Returns:
- the value of the
vendorIDrecord component
-
deviceID
public int deviceID()Returns the value of thedeviceIDrecord component.- Returns:
- the value of the
deviceIDrecord component
-