Class VulkanDebugUtilsLabelEXT
java.lang.Object
com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsLabelEXT
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanDebugUtilsLabelEXT. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanDebugUtilsLabelEXT.color()static VulkanDebugUtilsLabelEXTcopyOf(VulkanDebugUtilsLabelEXTType instance) Creates an immutable copy of aVulkanDebugUtilsLabelEXTTypevalue.booleanThis instance is equal to all instances ofVulkanDebugUtilsLabelEXTthat have equal attribute values.inthashCode()Computes a hash code from attributes:name,color.name()toString()Prints the immutable valueVulkanDebugUtilsLabelEXTwith attribute values.final VulkanDebugUtilsLabelEXTCopy the current immutable object by setting a value for thecolorattribute.final VulkanDebugUtilsLabelEXTCopy the current immutable object by setting a value for thenameattribute.
-
Method Details
-
name
- Specified by:
namein interfaceVulkanDebugUtilsLabelEXTType- Returns:
- The name of the label
-
color
- Specified by:
colorin interfaceVulkanDebugUtilsLabelEXTType- Returns:
- The label color
-
withName
Copy the current immutable object by setting a value for thenameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for name- Returns:
- A modified copy of the
thisobject
-
withColor
Copy the current immutable object by setting a value for thecolorattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for color- Returns:
- A modified copy of the
thisobject
-
equals
-
hashCode
-
toString
-
copyOf
Creates an immutable copy of aVulkanDebugUtilsLabelEXTTypevalue. 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 VulkanDebugUtilsLabelEXT instance
-
builder
Creates a builder forVulkanDebugUtilsLabelEXT.VulkanDebugUtilsLabelEXT.builder() .setName(String) // requiredname.setColor(com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsLabelColor) // requiredcolor.build();- Returns:
- A new VulkanDebugUtilsLabelEXT builder
-