This structure should only be considered valid during the lifetime of the triggered callback.
Since adding queue and command buffer labels behaves like pushing and popping onto a stack, the order of both pQueueLabels and pCmdBufLabels is based on the order the labels were defined. The result is that the first label in either pQueueLabels or pCmdBufLabels will be the first defined (and therefore the oldest) while the last label in each list will be the most recent.
pQueueLabels will only be non-NULL if one of the objects in pObjects can be related directly to a defined VkQueue which has had one or more labels associated with it.
Likewise, pCmdBufLabels will only be non-NULL if one of the objects in pObjects can be related directly to a defined VkCommandBuffer which has had one or more labels associated with it. Additionally, while command buffer labels allow for beginning and ending across different command buffers, the debug messaging framework cannot guarantee that labels in pCmdBufLables will contain those defined outside of the associated command buffer. This is partially due to the fact that the association of one command buffer with another may not have been defined at the time the debug message is triggered.
sType must be STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXTpNext must be NULL or a pointer to a valid instance of VkDeviceAddressBindingCallbackDataEXTsType value of each struct in the pNext chain must be uniqueflags must be 0pMessageIdName is not NULL, pMessageIdName must be a null-terminated UTF-8 stringpMessage must be a null-terminated UTF-8 stringqueueLabelCount is not 0, pQueueLabels must be a valid pointer to an array of queueLabelCount valid VkDebugUtilsLabelEXT structurescmdBufLabelCount is not 0, pCmdBufLabels must be a valid pointer to an array of cmdBufLabelCount valid VkDebugUtilsLabelEXT structuresobjectCount is not 0, pObjects must be a valid pointer to an array of objectCount valid VkDebugUtilsObjectNameInfoEXT structuresVkDebugUtilsLabelEXT, VkDebugUtilsObjectNameInfoEXT, SubmitDebugUtilsMessageEXT
struct VkDebugUtilsMessengerCallbackDataEXT {
VkStructureType sType;
void const * pNext;
VkDebugUtilsMessengerCallbackDataFlagsEXT flags;
char const * pMessageIdName;
int32_t messageIdNumber;
char const * pMessage;
uint32_t queueLabelCount;
VkDebugUtilsLabelEXT const * pQueueLabels;
uint32_t cmdBufLabelCount;
VkDebugUtilsLabelEXT const * pCmdBufLabels;
uint32_t objectCount;
VkDebugUtilsObjectNameInfoEXT const * pObjects;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDebugUtilsMessengerCallbackDataEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CMDBUFLABELCOUNT
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | MESSAGEIDNUMBER
The struct member offsets. |
| public static final int | OBJECTCOUNT
The struct member offsets. |
| public static final int | PCMDBUFLABELS
The struct member offsets. |
| public static final int | PMESSAGE
The struct member offsets. |
| public static final int | PMESSAGEIDNAME
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | POBJECTS
The struct member offsets. |
| public static final int | PQUEUELABELS
The struct member offsets. |
| public static final int | QUEUELABELCOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDebugUtilsMessengerCallbackDataEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDebugUtilsMessengerCallbackDataEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDebugUtilsMessengerCallbackDataEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT. | |
| public static VkDebugUtilsMessengerCallbackDataEXT. | |
| public int | |
| protected VkDebugUtilsMessengerCallbackDataEXT | 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 VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT | create(long address)
Returns a new |
| public static VkDebugUtilsMessengerCallbackDataEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDebugUtilsMessengerCallbackDataEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT. | |
| public int | |
| public VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDebugUtilsMessengerCallbackDataEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDebugUtilsMessengerCallbackDataEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT | |
| public static VkDebugUtilsMessengerCallbackDataEXT. | |
| public static VkDebugUtilsMessengerCallbackDataEXT. | |
| public int | |
| public VkDebugUtilsMessengerCallbackDataEXT | |
| public static int | |
| public static void | ncmdBufLabelCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nobjectCount(long struct, int value)
Sets the specified value to the |
| public static VkDebugUtilsLabelEXT. | |
| public static void | |
| 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 VkDebugUtilsObjectNameInfoEXT. | |
| public static void | |
| public static VkDebugUtilsLabelEXT. | |
| public static void | |
| public static int | |
| public static void | nqueueLabelCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public int | |
| public VkDebugUtilsLabelEXT. | pCmdBufLabels()
|
| public VkDebugUtilsMessengerCallbackDataEXT | pCmdBufLabels(VkDebugUtilsLabelEXT.
Sets the address of the specified |
| public ByteBuffer | |
| public VkDebugUtilsMessengerCallbackDataEXT | |
| public ByteBuffer | pMessageIdName()
a null-terminated string that identifies the particular message ID that is associated with the provided message. |
| public VkDebugUtilsMessengerCallbackDataEXT | pMessageIdName(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | pMessageIdNameString()
a null-terminated string that identifies the particular message ID that is associated with the provided message. |
| public String | |
| public long | |
| public VkDebugUtilsMessengerCallbackDataEXT | |
| public VkDebugUtilsMessengerCallbackDataEXT | pNext(VkDeviceAddressBindingCallbackDataEXT value)
Prepends the specified |
| public VkDebugUtilsObjectNameInfoEXT. | pObjects()
a pointer to an array of |
| public VkDebugUtilsMessengerCallbackDataEXT | pObjects(VkDebugUtilsObjectNameInfoEXT.
Sets the address of the specified |
| public VkDebugUtilsLabelEXT. | pQueueLabels()
|
| public VkDebugUtilsMessengerCallbackDataEXT | pQueueLabels(VkDebugUtilsLabelEXT.
Sets the address of the specified |
| public int | |
| public VkDebugUtilsMessengerCallbackDataEXT | set(int sType, long pNext, int flags, ByteBuffer pMessageIdName, int messageIdNumber, ByteBuffer pMessage, VkDebugUtilsLabelEXT.
Initializes this struct with the specified values. |
| public VkDebugUtilsMessengerCallbackDataEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDebugUtilsMessengerCallbackDataEXT | |
| public VkDebugUtilsMessengerCallbackDataEXT | sType$Default()
Sets the |
| public static void |