Record Class VkBindings.DeviceResult
java.lang.Object
java.lang.Record
dev.engine.graphics.vulkan.VkBindings.DeviceResult
- Enclosing interface:
VkBindings
Result of device creation — includes the device handle.
-
Constructor Summary
ConstructorsConstructorDescriptionDeviceResult(long device) Creates an instance of aDeviceResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongdevice()Returns the value of thedevicerecord 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
-
DeviceResult
public DeviceResult(long device) Creates an instance of aDeviceResultrecord class.- Parameters:
device- the value for thedevicerecord 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. -
device
public long device()Returns the value of thedevicerecord component.- Returns:
- the value of the
devicerecord component
-