Class VkDebugUtilsMessengerCallbackDataEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDebugUtilsMessengerCallbackDataEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkDebugUtilsMessengerCallbackDataEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure specifying parameters returned to the callback.Description
Note
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
andpCmdBufLabels
is based on the order the labels were defined. The result is that the first label in eitherpQueueLabels
orpCmdBufLabels
will be the first defined (and therefore the oldest) while the last label in each list will be the most recent.Note
pQueueLabels
will only be non-NULL if one of the objects inpObjects
can be related directly to a definedVkQueue
which has had one or more labels associated with it.Likewise,
pCmdBufLabels
will only be non-NULL if one of the objects inpObjects
can be related directly to a definedVkCommandBuffer
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 inpCmdBufLables
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.Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT
pNext
must beNULL
flags
must be 0- If
pMessageIdName
is notNULL
,pMessageIdName
must be a null-terminated UTF-8 string pMessage
must be a null-terminated UTF-8 string- If
queueLabelCount
is not 0,pQueueLabels
must be a valid pointer to an array ofqueueLabelCount
validVkDebugUtilsLabelEXT
structures - If
cmdBufLabelCount
is not 0,pCmdBufLabels
must be a valid pointer to an array ofcmdBufLabelCount
validVkDebugUtilsLabelEXT
structures - If
objectCount
is not 0,pObjects
must be a valid pointer to an array ofobjectCount
validVkDebugUtilsObjectNameInfoEXT
structures
See Also
VkDebugUtilsLabelEXT
,VkDebugUtilsObjectNameInfoEXT
,SubmitDebugUtilsMessageEXT
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.flags
– 0 and reserved for future use.pMessageIdName
– a null-terminated string that identifies the particular message ID that is associated with the provided message. If the message corresponds to a validation layer message, then this string may contain the portion of the Vulkan specification that is believed to have been violated.messageIdNumber
– the ID number of the triggering message. If the message corresponds to a validation layer message, then this number is related to the internal number associated with the message being triggered.pMessage
– a null-terminated string detailing the trigger conditions.queueLabelCount
– a count of items contained in thepQueueLabels
array.pQueueLabels
– NULL or a pointer to an array ofVkDebugUtilsLabelEXT
active in the currentVkQueue
at the time the callback was triggered. Refer to Queue Labels for more information.cmdBufLabelCount
– a count of items contained in thepCmdBufLabels
array.pCmdBufLabels
– NULL or a pointer to an array ofVkDebugUtilsLabelEXT
active in the currentVkCommandBuffer
at the time the callback was triggered. Refer to Command Buffer Labels for more information.objectCount
– a count of items contained in thepObjects
array.pObjects
– a pointer to an array ofVkDebugUtilsObjectNameInfoEXT
objects related to the detected issue. The array is roughly in order or importance, but the 0th element is always guaranteed to be the most important object for this message.
Layout
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; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDebugUtilsMessengerCallbackDataEXT.Buffer
An array ofVkDebugUtilsMessengerCallbackDataEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
CMDBUFLABELCOUNT
FLAGS
MESSAGEIDNUMBER
OBJECTCOUNT
PCMDBUFLABELS
PMESSAGE
PMESSAGEIDNAME
PNEXT
POBJECTS
PQUEUELABELS
QUEUELABELCOUNTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDebugUtilsMessengerCallbackDataEXT(java.nio.ByteBuffer container)
Creates aVkDebugUtilsMessengerCallbackDataEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDebugUtilsMessengerCallbackDataEXT
calloc()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated withmemCalloc
.static VkDebugUtilsMessengerCallbackDataEXT.Buffer
calloc(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated withmemCalloc
.static VkDebugUtilsMessengerCallbackDataEXT
callocStack()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDebugUtilsMessengerCallbackDataEXT.Buffer
callocStack(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDebugUtilsMessengerCallbackDataEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDebugUtilsMessengerCallbackDataEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.int
cmdBufLabelCount()
Returns the value of thecmdBufLabelCount
field.static VkDebugUtilsMessengerCallbackDataEXT
create()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated withBufferUtils
.static VkDebugUtilsMessengerCallbackDataEXT.Buffer
create(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated withBufferUtils
.static VkDebugUtilsMessengerCallbackDataEXT
create(long address)
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance for the specified memory address.static VkDebugUtilsMessengerCallbackDataEXT.Buffer
create(long address, int capacity)
Create aVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance at the specified memory.static VkDebugUtilsMessengerCallbackDataEXT
createSafe(long address)
static VkDebugUtilsMessengerCallbackDataEXT.Buffer
createSafe(long address, int capacity)
int
flags()
Returns the value of theflags
field.VkDebugUtilsMessengerCallbackDataEXT
flags(int value)
Sets the specified value to theflags
field.static VkDebugUtilsMessengerCallbackDataEXT
malloc()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated withmemAlloc
.static VkDebugUtilsMessengerCallbackDataEXT.Buffer
malloc(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated withmemAlloc
.static VkDebugUtilsMessengerCallbackDataEXT
mallocStack()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated on the thread-localMemoryStack
.static VkDebugUtilsMessengerCallbackDataEXT.Buffer
mallocStack(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkDebugUtilsMessengerCallbackDataEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkDebugUtilsMessengerCallbackDataEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated on the specifiedMemoryStack
.int
messageIdNumber()
Returns the value of themessageIdNumber
field.VkDebugUtilsMessengerCallbackDataEXT
messageIdNumber(int value)
Sets the specified value to themessageIdNumber
field.static int
ncmdBufLabelCount(long struct)
Unsafe version ofcmdBufLabelCount()
.static void
ncmdBufLabelCount(long struct, int value)
Sets the specified value to thecmdBufLabelCount
field of the specifiedstruct
.static int
nflags(long struct)
Unsafe version offlags()
.static void
nflags(long struct, int value)
Unsafe version offlags
.static int
nmessageIdNumber(long struct)
Unsafe version ofmessageIdNumber()
.static void
nmessageIdNumber(long struct, int value)
Unsafe version ofmessageIdNumber
.static int
nobjectCount(long struct)
Unsafe version ofobjectCount()
.static void
nobjectCount(long struct, int value)
Sets the specified value to theobjectCount
field of the specifiedstruct
.static VkDebugUtilsLabelEXT.Buffer
npCmdBufLabels(long struct)
Unsafe version ofpCmdBufLabels()
.static void
npCmdBufLabels(long struct, VkDebugUtilsLabelEXT.Buffer value)
Unsafe version ofpCmdBufLabels
.static java.nio.ByteBuffer
npMessage(long struct)
Unsafe version ofpMessage()
.static void
npMessage(long struct, java.nio.ByteBuffer value)
Unsafe version ofpMessage
.static java.nio.ByteBuffer
npMessageIdName(long struct)
Unsafe version ofpMessageIdName()
.static void
npMessageIdName(long struct, java.nio.ByteBuffer value)
Unsafe version ofpMessageIdName
.static java.lang.String
npMessageIdNameString(long struct)
Unsafe version ofpMessageIdNameString()
.static java.lang.String
npMessageString(long struct)
Unsafe version ofpMessageString()
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static VkDebugUtilsObjectNameInfoEXT.Buffer
npObjects(long struct)
Unsafe version ofpObjects()
.static void
npObjects(long struct, VkDebugUtilsObjectNameInfoEXT.Buffer value)
Unsafe version ofpObjects
.static VkDebugUtilsLabelEXT.Buffer
npQueueLabels(long struct)
Unsafe version ofpQueueLabels()
.static void
npQueueLabels(long struct, VkDebugUtilsLabelEXT.Buffer value)
Unsafe version ofpQueueLabels
.static int
nqueueLabelCount(long struct)
Unsafe version ofqueueLabelCount()
.static void
nqueueLabelCount(long struct, int value)
Sets the specified value to thequeueLabelCount
field of the specifiedstruct
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.int
objectCount()
Returns the value of theobjectCount
field.VkDebugUtilsLabelEXT.Buffer
pCmdBufLabels()
Returns aVkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepCmdBufLabels
field.VkDebugUtilsMessengerCallbackDataEXT
pCmdBufLabels(VkDebugUtilsLabelEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepCmdBufLabels
field.java.nio.ByteBuffer
pMessage()
Returns aByteBuffer
view of the null-terminated string pointed to by thepMessage
field.VkDebugUtilsMessengerCallbackDataEXT
pMessage(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMessage
field.java.nio.ByteBuffer
pMessageIdName()
Returns aByteBuffer
view of the null-terminated string pointed to by thepMessageIdName
field.VkDebugUtilsMessengerCallbackDataEXT
pMessageIdName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMessageIdName
field.java.lang.String
pMessageIdNameString()
Decodes the null-terminated string pointed to by thepMessageIdName
field.java.lang.String
pMessageString()
Decodes the null-terminated string pointed to by thepMessage
field.long
pNext()
Returns the value of thepNext
field.VkDebugUtilsMessengerCallbackDataEXT
pNext(long value)
Sets the specified value to thepNext
field.VkDebugUtilsObjectNameInfoEXT.Buffer
pObjects()
Returns aVkDebugUtilsObjectNameInfoEXT.Buffer
view of the struct array pointed to by thepObjects
field.VkDebugUtilsMessengerCallbackDataEXT
pObjects(VkDebugUtilsObjectNameInfoEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsObjectNameInfoEXT.Buffer
to thepObjects
field.VkDebugUtilsLabelEXT.Buffer
pQueueLabels()
Returns aVkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepQueueLabels
field.VkDebugUtilsMessengerCallbackDataEXT
pQueueLabels(VkDebugUtilsLabelEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepQueueLabels
field.int
queueLabelCount()
Returns the value of thequeueLabelCount
field.VkDebugUtilsMessengerCallbackDataEXT
set(int sType, long pNext, int flags, java.nio.ByteBuffer pMessageIdName, int messageIdNumber, java.nio.ByteBuffer pMessage, VkDebugUtilsLabelEXT.Buffer pQueueLabels, VkDebugUtilsLabelEXT.Buffer pCmdBufLabels, VkDebugUtilsObjectNameInfoEXT.Buffer pObjects)
Initializes this struct with the specified values.VkDebugUtilsMessengerCallbackDataEXT
set(VkDebugUtilsMessengerCallbackDataEXT src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkDebugUtilsMessengerCallbackDataEXT
sType(int value)
Sets the specified value to thesType
field.static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.
-
-
-
Constructor Detail
-
VkDebugUtilsMessengerCallbackDataEXT
public VkDebugUtilsMessengerCallbackDataEXT(java.nio.ByteBuffer container)
Creates aVkDebugUtilsMessengerCallbackDataEXT
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
pMessageIdName
@Nullable public java.nio.ByteBuffer pMessageIdName()
Returns aByteBuffer
view of the null-terminated string pointed to by thepMessageIdName
field.
-
pMessageIdNameString
@Nullable public java.lang.String pMessageIdNameString()
Decodes the null-terminated string pointed to by thepMessageIdName
field.
-
messageIdNumber
public int messageIdNumber()
Returns the value of themessageIdNumber
field.
-
pMessage
public java.nio.ByteBuffer pMessage()
Returns aByteBuffer
view of the null-terminated string pointed to by thepMessage
field.
-
pMessageString
public java.lang.String pMessageString()
Decodes the null-terminated string pointed to by thepMessage
field.
-
queueLabelCount
public int queueLabelCount()
Returns the value of thequeueLabelCount
field.
-
pQueueLabels
@Nullable public VkDebugUtilsLabelEXT.Buffer pQueueLabels()
Returns aVkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepQueueLabels
field.
-
cmdBufLabelCount
public int cmdBufLabelCount()
Returns the value of thecmdBufLabelCount
field.
-
pCmdBufLabels
@Nullable public VkDebugUtilsLabelEXT.Buffer pCmdBufLabels()
Returns aVkDebugUtilsLabelEXT.Buffer
view of the struct array pointed to by thepCmdBufLabels
field.
-
objectCount
public int objectCount()
Returns the value of theobjectCount
field.
-
pObjects
@Nullable public VkDebugUtilsObjectNameInfoEXT.Buffer pObjects()
Returns aVkDebugUtilsObjectNameInfoEXT.Buffer
view of the struct array pointed to by thepObjects
field.
-
sType
public VkDebugUtilsMessengerCallbackDataEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkDebugUtilsMessengerCallbackDataEXT pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkDebugUtilsMessengerCallbackDataEXT flags(int value)
Sets the specified value to theflags
field.
-
pMessageIdName
public VkDebugUtilsMessengerCallbackDataEXT pMessageIdName(@Nullable java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMessageIdName
field.
-
messageIdNumber
public VkDebugUtilsMessengerCallbackDataEXT messageIdNumber(int value)
Sets the specified value to themessageIdNumber
field.
-
pMessage
public VkDebugUtilsMessengerCallbackDataEXT pMessage(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMessage
field.
-
pQueueLabels
public VkDebugUtilsMessengerCallbackDataEXT pQueueLabels(@Nullable VkDebugUtilsLabelEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepQueueLabels
field.
-
pCmdBufLabels
public VkDebugUtilsMessengerCallbackDataEXT pCmdBufLabels(@Nullable VkDebugUtilsLabelEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsLabelEXT.Buffer
to thepCmdBufLabels
field.
-
pObjects
public VkDebugUtilsMessengerCallbackDataEXT pObjects(@Nullable VkDebugUtilsObjectNameInfoEXT.Buffer value)
Sets the address of the specifiedVkDebugUtilsObjectNameInfoEXT.Buffer
to thepObjects
field.
-
set
public VkDebugUtilsMessengerCallbackDataEXT set(int sType, long pNext, int flags, @Nullable java.nio.ByteBuffer pMessageIdName, int messageIdNumber, java.nio.ByteBuffer pMessage, @Nullable VkDebugUtilsLabelEXT.Buffer pQueueLabels, @Nullable VkDebugUtilsLabelEXT.Buffer pCmdBufLabels, @Nullable VkDebugUtilsObjectNameInfoEXT.Buffer pObjects)
Initializes this struct with the specified values.
-
set
public VkDebugUtilsMessengerCallbackDataEXT set(VkDebugUtilsMessengerCallbackDataEXT src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkDebugUtilsMessengerCallbackDataEXT malloc()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDebugUtilsMessengerCallbackDataEXT calloc()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDebugUtilsMessengerCallbackDataEXT create()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated withBufferUtils
.
-
create
public static VkDebugUtilsMessengerCallbackDataEXT create(long address)
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkDebugUtilsMessengerCallbackDataEXT createSafe(long address)
-
malloc
public static VkDebugUtilsMessengerCallbackDataEXT.Buffer malloc(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDebugUtilsMessengerCallbackDataEXT.Buffer calloc(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDebugUtilsMessengerCallbackDataEXT.Buffer create(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDebugUtilsMessengerCallbackDataEXT.Buffer create(long address, int capacity)
Create aVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkDebugUtilsMessengerCallbackDataEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDebugUtilsMessengerCallbackDataEXT mallocStack()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDebugUtilsMessengerCallbackDataEXT callocStack()
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDebugUtilsMessengerCallbackDataEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDebugUtilsMessengerCallbackDataEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugUtilsMessengerCallbackDataEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkDebugUtilsMessengerCallbackDataEXT.Buffer mallocStack(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDebugUtilsMessengerCallbackDataEXT.Buffer callocStack(int capacity)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDebugUtilsMessengerCallbackDataEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkDebugUtilsMessengerCallbackDataEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugUtilsMessengerCallbackDataEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType()
.
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext()
.
-
nflags
public static int nflags(long struct)
Unsafe version offlags()
.
-
npMessageIdName
@Nullable public static java.nio.ByteBuffer npMessageIdName(long struct)
Unsafe version ofpMessageIdName()
.
-
npMessageIdNameString
@Nullable public static java.lang.String npMessageIdNameString(long struct)
Unsafe version ofpMessageIdNameString()
.
-
nmessageIdNumber
public static int nmessageIdNumber(long struct)
Unsafe version ofmessageIdNumber()
.
-
npMessage
public static java.nio.ByteBuffer npMessage(long struct)
Unsafe version ofpMessage()
.
-
npMessageString
public static java.lang.String npMessageString(long struct)
Unsafe version ofpMessageString()
.
-
nqueueLabelCount
public static int nqueueLabelCount(long struct)
Unsafe version ofqueueLabelCount()
.
-
npQueueLabels
@Nullable public static VkDebugUtilsLabelEXT.Buffer npQueueLabels(long struct)
Unsafe version ofpQueueLabels()
.
-
ncmdBufLabelCount
public static int ncmdBufLabelCount(long struct)
Unsafe version ofcmdBufLabelCount()
.
-
npCmdBufLabels
@Nullable public static VkDebugUtilsLabelEXT.Buffer npCmdBufLabels(long struct)
Unsafe version ofpCmdBufLabels()
.
-
nobjectCount
public static int nobjectCount(long struct)
Unsafe version ofobjectCount()
.
-
npObjects
@Nullable public static VkDebugUtilsObjectNameInfoEXT.Buffer npObjects(long struct)
Unsafe version ofpObjects()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
nflags
public static void nflags(long struct, int value)
Unsafe version offlags
.
-
npMessageIdName
public static void npMessageIdName(long struct, @Nullable java.nio.ByteBuffer value)
Unsafe version ofpMessageIdName
.
-
nmessageIdNumber
public static void nmessageIdNumber(long struct, int value)
Unsafe version ofmessageIdNumber
.
-
npMessage
public static void npMessage(long struct, java.nio.ByteBuffer value)
Unsafe version ofpMessage
.
-
nqueueLabelCount
public static void nqueueLabelCount(long struct, int value)
Sets the specified value to thequeueLabelCount
field of the specifiedstruct
.
-
npQueueLabels
public static void npQueueLabels(long struct, @Nullable VkDebugUtilsLabelEXT.Buffer value)
Unsafe version ofpQueueLabels
.
-
ncmdBufLabelCount
public static void ncmdBufLabelCount(long struct, int value)
Sets the specified value to thecmdBufLabelCount
field of the specifiedstruct
.
-
npCmdBufLabels
public static void npCmdBufLabels(long struct, @Nullable VkDebugUtilsLabelEXT.Buffer value)
Unsafe version ofpCmdBufLabels
.
-
nobjectCount
public static void nobjectCount(long struct, int value)
Sets the specified value to theobjectCount
field of the specifiedstruct
.
-
npObjects
public static void npObjects(long struct, @Nullable VkDebugUtilsObjectNameInfoEXT.Buffer value)
Unsafe version ofpObjects
.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-
validate
public static void validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.- Parameters:
array
- the struct array to validatecount
- the number of structs inarray
-
-