Class VulkanDebugUtilsMessengerCallbackDataEXT
java.lang.Object
com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsMessengerCallbackDataEXT
- All Implemented Interfaces:
VulkanDebugUtilsMessengerCallbackDataEXTType
public final class VulkanDebugUtilsMessengerCallbackDataEXT
extends Object
implements VulkanDebugUtilsMessengerCallbackDataEXTType
Structure specifying parameters returned to the callback.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanDebugUtilsMessengerCallbackDataEXT. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanDebugUtilsMessengerCallbackDataEXT.Creates an immutable copy of aVulkanDebugUtilsMessengerCallbackDataEXTTypevalue.booleanThis instance is equal to all instances ofVulkanDebugUtilsMessengerCallbackDataEXTthat have equal attribute values.flags()inthashCode()Computes a hash code from attributes:flags,messageIdName,messageIdNumber,message,queueLabels,commandBufferLabels,objects.message()intobjects()toString()Prints the immutable valueVulkanDebugUtilsMessengerCallbackDataEXTwith attribute values.withCommandBufferLabels(VulkanDebugUtilsLabelEXT... elements) Copy the current immutable object with elements that replace the content ofcommandBufferLabels.withCommandBufferLabels(Iterable<? extends VulkanDebugUtilsLabelEXT> elements) Copy the current immutable object with elements that replace the content ofcommandBufferLabels.withFlags(VulkanDebugUtilsMessengerCreateFlag... elements) Copy the current immutable object with elements that replace the content offlags.withFlags(Iterable<VulkanDebugUtilsMessengerCreateFlag> elements) Copy the current immutable object with elements that replace the content offlags.withMessage(String value) Copy the current immutable object by setting a value for themessageattribute.withMessageIdName(String value) Copy the current immutable object by setting a value for themessageIdNameattribute.withMessageIdNumber(int value) Copy the current immutable object by setting a value for themessageIdNumberattribute.withObjects(VulkanDebugUtilsObjectNameInfoEXT... elements) Copy the current immutable object with elements that replace the content ofobjects.withObjects(Iterable<? extends VulkanDebugUtilsObjectNameInfoEXT> elements) Copy the current immutable object with elements that replace the content ofobjects.withQueueLabels(VulkanDebugUtilsLabelEXT... elements) Copy the current immutable object with elements that replace the content ofqueueLabels.withQueueLabels(Iterable<? extends VulkanDebugUtilsLabelEXT> elements) Copy the current immutable object with elements that replace the content ofqueueLabels.
-
Method Details
-
flags
- Specified by:
flagsin interfaceVulkanDebugUtilsMessengerCallbackDataEXTType- Returns:
- The creation flags
-
messageIdName
- Specified by:
messageIdNamein interfaceVulkanDebugUtilsMessengerCallbackDataEXTType- Returns:
- The message ID name
-
messageIdNumber
public int messageIdNumber()- Specified by:
messageIdNumberin interfaceVulkanDebugUtilsMessengerCallbackDataEXTType- Returns:
- The message ID number
-
message
- Specified by:
messagein interfaceVulkanDebugUtilsMessengerCallbackDataEXTType- Returns:
- The message
-
queueLabels
- Specified by:
queueLabelsin interfaceVulkanDebugUtilsMessengerCallbackDataEXTType- Returns:
- The queue labels
-
commandBufferLabels
- Specified by:
commandBufferLabelsin interfaceVulkanDebugUtilsMessengerCallbackDataEXTType- Returns:
- The command buffer labels
-
objects
- Specified by:
objectsin interfaceVulkanDebugUtilsMessengerCallbackDataEXTType- Returns:
- The object labels
-
withFlags
public final VulkanDebugUtilsMessengerCallbackDataEXT withFlags(VulkanDebugUtilsMessengerCreateFlag... elements) Copy the current immutable object with elements that replace the content offlags.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withFlags
public final VulkanDebugUtilsMessengerCallbackDataEXT withFlags(Iterable<VulkanDebugUtilsMessengerCreateFlag> elements) Copy the current immutable object with elements that replace the content offlags. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of flags elements to set- Returns:
- A modified copy of
thisobject
-
withMessageIdName
Copy the current immutable object by setting a value for themessageIdNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for messageIdName- Returns:
- A modified copy of the
thisobject
-
withMessageIdNumber
Copy the current immutable object by setting a value for themessageIdNumberattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for messageIdNumber- Returns:
- A modified copy of the
thisobject
-
withMessage
Copy the current immutable object by setting a value for themessageattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for message- Returns:
- A modified copy of the
thisobject
-
withQueueLabels
public final VulkanDebugUtilsMessengerCallbackDataEXT withQueueLabels(VulkanDebugUtilsLabelEXT... elements) Copy the current immutable object with elements that replace the content ofqueueLabels.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withQueueLabels
public final VulkanDebugUtilsMessengerCallbackDataEXT withQueueLabels(Iterable<? extends VulkanDebugUtilsLabelEXT> elements) Copy the current immutable object with elements that replace the content ofqueueLabels. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of queueLabels elements to set- Returns:
- A modified copy of
thisobject
-
withCommandBufferLabels
public final VulkanDebugUtilsMessengerCallbackDataEXT withCommandBufferLabels(VulkanDebugUtilsLabelEXT... elements) Copy the current immutable object with elements that replace the content ofcommandBufferLabels.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withCommandBufferLabels
public final VulkanDebugUtilsMessengerCallbackDataEXT withCommandBufferLabels(Iterable<? extends VulkanDebugUtilsLabelEXT> elements) Copy the current immutable object with elements that replace the content ofcommandBufferLabels. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of commandBufferLabels elements to set- Returns:
- A modified copy of
thisobject
-
withObjects
public final VulkanDebugUtilsMessengerCallbackDataEXT withObjects(VulkanDebugUtilsObjectNameInfoEXT... elements) Copy the current immutable object with elements that replace the content ofobjects.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withObjects
public final VulkanDebugUtilsMessengerCallbackDataEXT withObjects(Iterable<? extends VulkanDebugUtilsObjectNameInfoEXT> elements) Copy the current immutable object with elements that replace the content ofobjects. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of objects elements to set- Returns:
- A modified copy of
thisobject
-
equals
-
hashCode
-
toString
-
copyOf
public static VulkanDebugUtilsMessengerCallbackDataEXT copyOf(VulkanDebugUtilsMessengerCallbackDataEXTType instance) Creates an immutable copy of aVulkanDebugUtilsMessengerCallbackDataEXTTypevalue. 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 VulkanDebugUtilsMessengerCallbackDataEXT instance
-
builder
Creates a builder forVulkanDebugUtilsMessengerCallbackDataEXT.VulkanDebugUtilsMessengerCallbackDataEXT.builder() .addFlags|addAllFlags(com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsMessengerCreateFlag) //flagselements .setMessageIdName(String) // requiredmessageIdName.setMessageIdNumber(int) // requiredmessageIdNumber.setMessage(String) // requiredmessage.addQueueLabels|addAllQueueLabels(VulkanDebugUtilsLabelEXT) //queueLabelselements .addCommandBufferLabels|addAllCommandBufferLabels(VulkanDebugUtilsLabelEXT) //commandBufferLabelselements .addObjects|addAllObjects(VulkanDebugUtilsObjectNameInfoEXT) //objectselements .build();- Returns:
- A new VulkanDebugUtilsMessengerCallbackDataEXT builder
-