Class VulkanDebugUtilsObjectNameInfoEXT
java.lang.Object
com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsObjectNameInfoEXT
- All Implemented Interfaces:
VulkanDebugUtilsObjectNameInfoEXTType
public final class VulkanDebugUtilsObjectNameInfoEXT
extends Object
implements VulkanDebugUtilsObjectNameInfoEXTType
Specify parameters of a name to give to an object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanDebugUtilsObjectNameInfoEXT. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanDebugUtilsObjectNameInfoEXT.copyOf(VulkanDebugUtilsObjectNameInfoEXTType instance) Creates an immutable copy of aVulkanDebugUtilsObjectNameInfoEXTTypevalue.booleanThis instance is equal to all instances ofVulkanDebugUtilsObjectNameInfoEXTthat have equal attribute values.inthashCode()Computes a hash code from attributes:objectHandle,objectName.toString()Prints the immutable valueVulkanDebugUtilsObjectNameInfoEXTwith attribute values.withObjectHandle(VulkanHandleType value) Copy the current immutable object by setting a value for theobjectHandleattribute.withObjectName(String value) Copy the current immutable object by setting a value for theobjectNameattribute.
-
Method Details
-
objectHandle
- Specified by:
objectHandlein interfaceVulkanDebugUtilsObjectNameInfoEXTType- Returns:
- The object handle
-
objectName
- Specified by:
objectNamein interfaceVulkanDebugUtilsObjectNameInfoEXTType- Returns:
- The object name
-
withObjectHandle
Copy the current immutable object by setting a value for theobjectHandleattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for objectHandle- Returns:
- A modified copy or the
thisobject
-
withObjectName
Copy the current immutable object by setting a value for theobjectNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for objectName- Returns:
- A modified copy or the
thisobject
-
equals
-
hashCode
-
toString
-
copyOf
public static VulkanDebugUtilsObjectNameInfoEXT copyOf(VulkanDebugUtilsObjectNameInfoEXTType instance) Creates an immutable copy of aVulkanDebugUtilsObjectNameInfoEXTTypevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable VulkanDebugUtilsObjectNameInfoEXT instance
-
builder
Creates a builder forVulkanDebugUtilsObjectNameInfoEXT.VulkanDebugUtilsObjectNameInfoEXT.builder() .setObjectHandle(com.io7m.jcoronado.api.VulkanHandleType) // required
objectHandle.setObjectName(String) // requiredobjectName.build();- Returns:
- A new VulkanDebugUtilsObjectNameInfoEXT builder
-