XR_EXT_debug_utils extension must be enabled prior to using XrDebugUtilsMessengerCallbackDataEXTtype must be TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXTnext must be NULL or a valid pointer to the next structure in a structure chainmessageId must be a null-terminated UTF-8 stringfunctionName must be a null-terminated UTF-8 stringmessage must be a null-terminated UTF-8 stringAn XrDebugUtilsMessengerCallbackDataEXT is a messenger object that handles passing along debug messages to a provided debug callback.
This structure should only be considered valid during the lifetime of the triggered callback.
The labels listed inside sessionLabels are organized in time order, with the most recently generated label appearing first, and the oldest label appearing last.
XrDebugUtilsLabelEXT, XrDebugUtilsObjectNameInfoEXT, SubmitDebugUtilsMessageEXT
struct XrDebugUtilsMessengerCallbackDataEXT {
XrStructureType type;
void const * next;
char const * messageId;
char const * functionName;
char const * message;
uint32_t objectCount;
XrDebugUtilsObjectNameInfoEXT * objects;
uint32_t sessionLabelCount;
XrDebugUtilsLabelEXT * sessionLabels;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrDebugUtilsMessengerCallbackDataEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FUNCTIONNAME
The struct member offsets. |
| public static final int | MESSAGE
The struct member offsets. |
| public static final int | MESSAGEID
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | OBJECTCOUNT
The struct member offsets. |
| public static final int | OBJECTS
The struct member offsets. |
| public static final int | SESSIONLABELCOUNT
The struct member offsets. |
| public static final int | SESSIONLABELS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrDebugUtilsMessengerCallbackDataEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrDebugUtilsMessengerCallbackDataEXT | |
| public static XrDebugUtilsMessengerCallbackDataEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrDebugUtilsMessengerCallbackDataEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrDebugUtilsMessengerCallbackDataEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrDebugUtilsMessengerCallbackDataEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrDebugUtilsMessengerCallbackDataEXT | |
| public static XrDebugUtilsMessengerCallbackDataEXT | create(long address)
Returns a new |
| public static XrDebugUtilsMessengerCallbackDataEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static XrDebugUtilsMessengerCallbackDataEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrDebugUtilsMessengerCallbackDataEXT | |
| public static XrDebugUtilsMessengerCallbackDataEXT. | |
| public ByteBuffer | functionName()
a |
| public XrDebugUtilsMessengerCallbackDataEXT | functionName(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | functionNameString()
a |
| public static XrDebugUtilsMessengerCallbackDataEXT | |
| public static XrDebugUtilsMessengerCallbackDataEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrDebugUtilsMessengerCallbackDataEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrDebugUtilsMessengerCallbackDataEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public ByteBuffer | |
| public XrDebugUtilsMessengerCallbackDataEXT | |
| public ByteBuffer | |
| public XrDebugUtilsMessengerCallbackDataEXT | |
| public String | |
| public String | |
| public long | |
| public XrDebugUtilsMessengerCallbackDataEXT | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static ByteBuffer | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static String | |
| public static long | |
| public static void | |
| public static int | |
| public static void | nobjectCount(long struct, int value)
Sets the specified value to the |
| public static XrDebugUtilsObjectNameInfoEXT. | |
| public static void | |
| public static int | |
| public static void | nsessionLabelCount(long struct, int value)
Sets the specified value to the |
| public static XrDebugUtilsLabelEXT. | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public XrDebugUtilsMessengerCallbackDataEXT | |
| public XrDebugUtilsObjectNameInfoEXT. | objects()
|
| public XrDebugUtilsMessengerCallbackDataEXT | objects(XrDebugUtilsObjectNameInfoEXT.
Sets the address of the specified |
| public int | |
| public XrDebugUtilsMessengerCallbackDataEXT | |
| public XrDebugUtilsLabelEXT. | sessionLabels()
|
| public XrDebugUtilsMessengerCallbackDataEXT | sessionLabels(XrDebugUtilsLabelEXT.
Sets the address of the specified |
| public XrDebugUtilsMessengerCallbackDataEXT | set(int type, long next, ByteBuffer messageId, ByteBuffer functionName, ByteBuffer message, int objectCount, XrDebugUtilsObjectNameInfoEXT.
Initializes this struct with the specified values. |
| public XrDebugUtilsMessengerCallbackDataEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrDebugUtilsMessengerCallbackDataEXT | |
| public XrDebugUtilsMessengerCallbackDataEXT | |
| public static void |