Class VulkanDebugUtilsMessengerCreateInfoEXT
java.lang.Object
com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsMessengerCreateInfoEXT
- All Implemented Interfaces:
VulkanDebugUtilsMessengerCreateInfoEXTType
public final class VulkanDebugUtilsMessengerCreateInfoEXT
extends Object
implements VulkanDebugUtilsMessengerCreateInfoEXTType
Structure specifying parameters of a newly created debug messenger.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanDebugUtilsMessengerCreateInfoEXT. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanDebugUtilsMessengerCreateInfoEXT.callback()Creates an immutable copy of aVulkanDebugUtilsMessengerCreateInfoEXTTypevalue.booleanThis instance is equal to all instances ofVulkanDebugUtilsMessengerCreateInfoEXTthat have equal attribute values.flags()inthashCode()Computes a hash code from attributes:flags,severity,type,callback.severity()toString()Prints the immutable valueVulkanDebugUtilsMessengerCreateInfoEXTwith attribute values.type()Copy the current immutable object by setting a value for thecallbackattribute.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.withSeverity(VulkanDebugUtilsMessageSeverityFlag... elements) Copy the current immutable object with elements that replace the content ofseverity.Copy the current immutable object with elements that replace the content ofseverity.withType(VulkanDebugUtilsMessageTypeFlag... elements) Copy the current immutable object with elements that replace the content oftype.withType(Iterable<VulkanDebugUtilsMessageTypeFlag> elements) Copy the current immutable object with elements that replace the content oftype.
-
Method Details
-
flags
- Specified by:
flagsin interfaceVulkanDebugUtilsMessengerCreateInfoEXTType- Returns:
- The creation flags
-
severity
- Specified by:
severityin interfaceVulkanDebugUtilsMessengerCreateInfoEXTType- Returns:
- The message severity selection
-
type
- Specified by:
typein interfaceVulkanDebugUtilsMessengerCreateInfoEXTType- Returns:
- The message type selection
-
callback
- Specified by:
callbackin interfaceVulkanDebugUtilsMessengerCreateInfoEXTType- Returns:
- The message callback
-
withFlags
public final VulkanDebugUtilsMessengerCreateInfoEXT 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 VulkanDebugUtilsMessengerCreateInfoEXT 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 or
thisif not changed
-
withSeverity
public final VulkanDebugUtilsMessengerCreateInfoEXT withSeverity(VulkanDebugUtilsMessageSeverityFlag... elements) Copy the current immutable object with elements that replace the content ofseverity.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withSeverity
public final VulkanDebugUtilsMessengerCreateInfoEXT withSeverity(Iterable<VulkanDebugUtilsMessageSeverityFlag> elements) Copy the current immutable object with elements that replace the content ofseverity. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of severity elements to set- Returns:
- A modified copy or
thisif not changed
-
withType
public final VulkanDebugUtilsMessengerCreateInfoEXT withType(VulkanDebugUtilsMessageTypeFlag... elements) Copy the current immutable object with elements that replace the content oftype.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withType
public final VulkanDebugUtilsMessengerCreateInfoEXT withType(Iterable<VulkanDebugUtilsMessageTypeFlag> elements) Copy the current immutable object with elements that replace the content oftype. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of type elements to set- Returns:
- A modified copy or
thisif not changed
-
withCallback
public final VulkanDebugUtilsMessengerCreateInfoEXT withCallback(VulkanDebugUtilsMessengerCallbackEXTType value) Copy the current immutable object by setting a value for thecallbackattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for callback- Returns:
- A modified copy or the
thisobject
-
equals
-
hashCode
-
toString
-
copyOf
public static VulkanDebugUtilsMessengerCreateInfoEXT copyOf(VulkanDebugUtilsMessengerCreateInfoEXTType instance) Creates an immutable copy of aVulkanDebugUtilsMessengerCreateInfoEXTTypevalue. 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 VulkanDebugUtilsMessengerCreateInfoEXT instance
-
builder
Creates a builder forVulkanDebugUtilsMessengerCreateInfoEXT.VulkanDebugUtilsMessengerCreateInfoEXT.builder() .addFlags|addAllFlags(com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsMessengerCreateFlag) //
flagselements .addSeverity|addAllSeverity(com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsMessageSeverityFlag) //severityelements .addType|addAllType(com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsMessageTypeFlag) //typeelements .setCallback(com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsMessengerCallbackEXTType) // requiredcallback.build();- Returns:
- A new VulkanDebugUtilsMessengerCreateInfoEXT builder
-