public class VkDebugUtilsObjectTagInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
The tagName parameter gives a name or identifier to the type of data being tagged. This can be used by debugging layers to easily filter for only data that can be used by that implementation.
objectType must not be OBJECT_TYPE_UNKNOWNobjectHandle must be a valid Vulkan handle of the type associated with objectType as defined in the VkObjectType and Vulkan Handle Relationship tablesType must be STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXTpNext must be NULLobjectType must be a valid VkObjectType valuepTag must be a valid pointer to an array of tagSize bytestagSize must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.objectType – a VkObjectType specifying the type of the object to be named.objectHandle – the object to be tagged.tagName – a numerical identifier of the tag.tagSize – the number of bytes of data to attach to the object.pTag – a pointer to an array of tagSize bytes containing the data to be associated with the object.
struct VkDebugUtilsObjectTagInfoEXT {
VkStructureType sType;
void const * pNext;
VkObjectType objectType;
uint64_t objectHandle;
uint64_t tagName;
size_t tagSize;
void const * pTag;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDebugUtilsObjectTagInfoEXT.Buffer
An array of
VkDebugUtilsObjectTagInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
OBJECTHANDLE
The struct member offsets.
|
static int |
OBJECTTYPE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PTAG
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
TAGNAME
The struct member offsets.
|
static int |
TAGSIZE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDebugUtilsObjectTagInfoEXT(java.nio.ByteBuffer container)
Creates a
VkDebugUtilsObjectTagInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDebugUtilsObjectTagInfoEXT |
calloc()
Returns a new
VkDebugUtilsObjectTagInfoEXT instance allocated with memCalloc. |
static VkDebugUtilsObjectTagInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated with memCalloc. |
static VkDebugUtilsObjectTagInfoEXT |
callocStack()
Returns a new
VkDebugUtilsObjectTagInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDebugUtilsObjectTagInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDebugUtilsObjectTagInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDebugUtilsObjectTagInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugUtilsObjectTagInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDebugUtilsObjectTagInfoEXT |
create()
Returns a new
VkDebugUtilsObjectTagInfoEXT instance allocated with BufferUtils. |
static VkDebugUtilsObjectTagInfoEXT.Buffer |
create(int capacity)
Returns a new
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated with BufferUtils. |
static VkDebugUtilsObjectTagInfoEXT |
create(long address)
Returns a new
VkDebugUtilsObjectTagInfoEXT instance for the specified memory address. |
static VkDebugUtilsObjectTagInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkDebugUtilsObjectTagInfoEXT.Buffer instance at the specified memory. |
static VkDebugUtilsObjectTagInfoEXT |
createSafe(long address)
|
static VkDebugUtilsObjectTagInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkDebugUtilsObjectTagInfoEXT |
malloc()
Returns a new
VkDebugUtilsObjectTagInfoEXT instance allocated with memAlloc. |
static VkDebugUtilsObjectTagInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated with memAlloc. |
static VkDebugUtilsObjectTagInfoEXT |
mallocStack()
Returns a new
VkDebugUtilsObjectTagInfoEXT instance allocated on the thread-local MemoryStack. |
static VkDebugUtilsObjectTagInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDebugUtilsObjectTagInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDebugUtilsObjectTagInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugUtilsObjectTagInfoEXT instance allocated on the specified MemoryStack. |
static long |
nobjectHandle(long struct)
Unsafe version of
objectHandle(). |
static void |
nobjectHandle(long struct,
long value)
Unsafe version of
objectHandle. |
static int |
nobjectType(long struct)
Unsafe version of
objectType(). |
static void |
nobjectType(long struct,
int value)
Unsafe version of
objectType. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static java.nio.ByteBuffer |
npTag(long struct)
Unsafe version of
pTag. |
static void |
npTag(long struct,
java.nio.ByteBuffer value)
Unsafe version of
pTag. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static long |
ntagName(long struct)
Unsafe version of
tagName(). |
static void |
ntagName(long struct,
long value)
Unsafe version of
tagName. |
static long |
ntagSize(long struct)
Unsafe version of
tagSize(). |
static void |
ntagSize(long struct,
long value)
Sets the specified value to the
tagSize field of the specified struct. |
long |
objectHandle()
Returns the value of the
objectHandle field. |
VkDebugUtilsObjectTagInfoEXT |
objectHandle(long value)
Sets the specified value to the
objectHandle field. |
int |
objectType()
Returns the value of the
objectType field. |
VkDebugUtilsObjectTagInfoEXT |
objectType(int value)
Sets the specified value to the
objectType field. |
long |
pNext()
Returns the value of the
pNext field. |
VkDebugUtilsObjectTagInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.ByteBuffer |
pTag()
Returns a
ByteBuffer view of the data pointed to by the pTag field. |
VkDebugUtilsObjectTagInfoEXT |
pTag(java.nio.ByteBuffer value)
Sets the address of the specified
ByteBuffer to the pTag field. |
VkDebugUtilsObjectTagInfoEXT |
set(int sType,
long pNext,
int objectType,
long objectHandle,
long tagName,
java.nio.ByteBuffer pTag)
Initializes this struct with the specified values.
|
VkDebugUtilsObjectTagInfoEXT |
set(VkDebugUtilsObjectTagInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDebugUtilsObjectTagInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
long |
tagName()
Returns the value of the
tagName field. |
VkDebugUtilsObjectTagInfoEXT |
tagName(long value)
Sets the specified value to the
tagName field. |
long |
tagSize()
Returns the value of the
tagSize field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int OBJECTTYPE
public static final int OBJECTHANDLE
public static final int TAGNAME
public static final int TAGSIZE
public static final int PTAG
public VkDebugUtilsObjectTagInfoEXT(java.nio.ByteBuffer container)
VkDebugUtilsObjectTagInfoEXT instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int objectType()
objectType field.public long objectHandle()
objectHandle field.public long tagName()
tagName field.public long tagSize()
tagSize field.public java.nio.ByteBuffer pTag()
ByteBuffer view of the data pointed to by the pTag field.public VkDebugUtilsObjectTagInfoEXT sType(int value)
sType field.public VkDebugUtilsObjectTagInfoEXT pNext(long value)
pNext field.public VkDebugUtilsObjectTagInfoEXT objectType(int value)
objectType field.public VkDebugUtilsObjectTagInfoEXT objectHandle(long value)
objectHandle field.public VkDebugUtilsObjectTagInfoEXT tagName(long value)
tagName field.public VkDebugUtilsObjectTagInfoEXT pTag(java.nio.ByteBuffer value)
ByteBuffer to the pTag field.public VkDebugUtilsObjectTagInfoEXT set(int sType, long pNext, int objectType, long objectHandle, long tagName, java.nio.ByteBuffer pTag)
public VkDebugUtilsObjectTagInfoEXT set(VkDebugUtilsObjectTagInfoEXT src)
src - the source structpublic static VkDebugUtilsObjectTagInfoEXT malloc()
VkDebugUtilsObjectTagInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDebugUtilsObjectTagInfoEXT calloc()
VkDebugUtilsObjectTagInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDebugUtilsObjectTagInfoEXT create()
VkDebugUtilsObjectTagInfoEXT instance allocated with BufferUtils.public static VkDebugUtilsObjectTagInfoEXT create(long address)
VkDebugUtilsObjectTagInfoEXT instance for the specified memory address.@Nullable public static VkDebugUtilsObjectTagInfoEXT createSafe(long address)
public static VkDebugUtilsObjectTagInfoEXT.Buffer malloc(int capacity)
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDebugUtilsObjectTagInfoEXT.Buffer calloc(int capacity)
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDebugUtilsObjectTagInfoEXT.Buffer create(int capacity)
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDebugUtilsObjectTagInfoEXT.Buffer create(long address, int capacity)
VkDebugUtilsObjectTagInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDebugUtilsObjectTagInfoEXT.Buffer createSafe(long address, int capacity)
public static VkDebugUtilsObjectTagInfoEXT mallocStack()
VkDebugUtilsObjectTagInfoEXT instance allocated on the thread-local MemoryStack.public static VkDebugUtilsObjectTagInfoEXT callocStack()
VkDebugUtilsObjectTagInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDebugUtilsObjectTagInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDebugUtilsObjectTagInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDebugUtilsObjectTagInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDebugUtilsObjectTagInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDebugUtilsObjectTagInfoEXT.Buffer mallocStack(int capacity)
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDebugUtilsObjectTagInfoEXT.Buffer callocStack(int capacity)
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDebugUtilsObjectTagInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDebugUtilsObjectTagInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDebugUtilsObjectTagInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nobjectType(long struct)
objectType().public static long nobjectHandle(long struct)
objectHandle().public static long ntagName(long struct)
tagName().public static long ntagSize(long struct)
tagSize().public static java.nio.ByteBuffer npTag(long struct)
pTag.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nobjectType(long struct,
int value)
objectType.public static void nobjectHandle(long struct,
long value)
objectHandle.public static void ntagName(long struct,
long value)
tagName.public static void ntagSize(long struct,
long value)
tagSize field of the specified struct.public static void npTag(long struct,
java.nio.ByteBuffer value)
pTag.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.