public class VkDebugMarkerObjectTagInfoEXT
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 DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXTobject must not be NULL_HANDLEobject must be a Vulkan object of the type associated with objectType as defined in VkDebugReportObjectTypeEXT and Vulkan Handle Relationship.sType must be STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXTpNext must be NULLobjectType must be a valid VkDebugReportObjectTypeEXT 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 VkDebugReportObjectTypeEXT specifying the type of the object to be named.object – 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 VkDebugMarkerObjectTagInfoEXT {
VkStructureType sType;
void const * pNext;
VkDebugReportObjectTypeEXT objectType;
uint64_t object;
uint64_t tagName;
size_t tagSize;
void const * pTag;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDebugMarkerObjectTagInfoEXT.Buffer
An array of
VkDebugMarkerObjectTagInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
OBJECT
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 |
|---|
VkDebugMarkerObjectTagInfoEXT(java.nio.ByteBuffer container)
Creates a
VkDebugMarkerObjectTagInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDebugMarkerObjectTagInfoEXT |
calloc()
Returns a new
VkDebugMarkerObjectTagInfoEXT instance allocated with memCalloc. |
static VkDebugMarkerObjectTagInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated with memCalloc. |
static VkDebugMarkerObjectTagInfoEXT |
callocStack()
Returns a new
VkDebugMarkerObjectTagInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerObjectTagInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerObjectTagInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerObjectTagInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerObjectTagInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerObjectTagInfoEXT |
create()
Returns a new
VkDebugMarkerObjectTagInfoEXT instance allocated with BufferUtils. |
static VkDebugMarkerObjectTagInfoEXT.Buffer |
create(int capacity)
Returns a new
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated with BufferUtils. |
static VkDebugMarkerObjectTagInfoEXT |
create(long address)
Returns a new
VkDebugMarkerObjectTagInfoEXT instance for the specified memory address. |
static VkDebugMarkerObjectTagInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkDebugMarkerObjectTagInfoEXT.Buffer instance at the specified memory. |
static VkDebugMarkerObjectTagInfoEXT |
createSafe(long address)
|
static VkDebugMarkerObjectTagInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkDebugMarkerObjectTagInfoEXT |
malloc()
Returns a new
VkDebugMarkerObjectTagInfoEXT instance allocated with memAlloc. |
static VkDebugMarkerObjectTagInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated with memAlloc. |
static VkDebugMarkerObjectTagInfoEXT |
mallocStack()
Returns a new
VkDebugMarkerObjectTagInfoEXT instance allocated on the thread-local MemoryStack. |
static VkDebugMarkerObjectTagInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDebugMarkerObjectTagInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDebugMarkerObjectTagInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerObjectTagInfoEXT instance allocated on the specified MemoryStack. |
static long |
nobject(long struct)
Unsafe version of
object(). |
static void |
nobject(long struct,
long value)
Unsafe version of
object. |
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 |
object()
Returns the value of the
object field. |
VkDebugMarkerObjectTagInfoEXT |
object(long value)
Sets the specified value to the
object field. |
int |
objectType()
Returns the value of the
objectType field. |
VkDebugMarkerObjectTagInfoEXT |
objectType(int value)
Sets the specified value to the
objectType field. |
long |
pNext()
Returns the value of the
pNext field. |
VkDebugMarkerObjectTagInfoEXT |
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. |
VkDebugMarkerObjectTagInfoEXT |
pTag(java.nio.ByteBuffer value)
Sets the address of the specified
ByteBuffer to the pTag field. |
VkDebugMarkerObjectTagInfoEXT |
set(int sType,
long pNext,
int objectType,
long object,
long tagName,
java.nio.ByteBuffer pTag)
Initializes this struct with the specified values.
|
VkDebugMarkerObjectTagInfoEXT |
set(VkDebugMarkerObjectTagInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDebugMarkerObjectTagInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
long |
tagName()
Returns the value of the
tagName field. |
VkDebugMarkerObjectTagInfoEXT |
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 OBJECT
public static final int TAGNAME
public static final int TAGSIZE
public static final int PTAG
public VkDebugMarkerObjectTagInfoEXT(java.nio.ByteBuffer container)
VkDebugMarkerObjectTagInfoEXT 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 object()
object 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 VkDebugMarkerObjectTagInfoEXT sType(int value)
sType field.public VkDebugMarkerObjectTagInfoEXT pNext(long value)
pNext field.public VkDebugMarkerObjectTagInfoEXT objectType(int value)
objectType field.public VkDebugMarkerObjectTagInfoEXT object(long value)
object field.public VkDebugMarkerObjectTagInfoEXT tagName(long value)
tagName field.public VkDebugMarkerObjectTagInfoEXT pTag(java.nio.ByteBuffer value)
ByteBuffer to the pTag field.public VkDebugMarkerObjectTagInfoEXT set(int sType, long pNext, int objectType, long object, long tagName, java.nio.ByteBuffer pTag)
public VkDebugMarkerObjectTagInfoEXT set(VkDebugMarkerObjectTagInfoEXT src)
src - the source structpublic static VkDebugMarkerObjectTagInfoEXT malloc()
VkDebugMarkerObjectTagInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDebugMarkerObjectTagInfoEXT calloc()
VkDebugMarkerObjectTagInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDebugMarkerObjectTagInfoEXT create()
VkDebugMarkerObjectTagInfoEXT instance allocated with BufferUtils.public static VkDebugMarkerObjectTagInfoEXT create(long address)
VkDebugMarkerObjectTagInfoEXT instance for the specified memory address.@Nullable public static VkDebugMarkerObjectTagInfoEXT createSafe(long address)
public static VkDebugMarkerObjectTagInfoEXT.Buffer malloc(int capacity)
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDebugMarkerObjectTagInfoEXT.Buffer calloc(int capacity)
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDebugMarkerObjectTagInfoEXT.Buffer create(int capacity)
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDebugMarkerObjectTagInfoEXT.Buffer create(long address, int capacity)
VkDebugMarkerObjectTagInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDebugMarkerObjectTagInfoEXT.Buffer createSafe(long address, int capacity)
public static VkDebugMarkerObjectTagInfoEXT mallocStack()
VkDebugMarkerObjectTagInfoEXT instance allocated on the thread-local MemoryStack.public static VkDebugMarkerObjectTagInfoEXT callocStack()
VkDebugMarkerObjectTagInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDebugMarkerObjectTagInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDebugMarkerObjectTagInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDebugMarkerObjectTagInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDebugMarkerObjectTagInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDebugMarkerObjectTagInfoEXT.Buffer mallocStack(int capacity)
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDebugMarkerObjectTagInfoEXT.Buffer callocStack(int capacity)
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDebugMarkerObjectTagInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDebugMarkerObjectTagInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDebugMarkerObjectTagInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDebugMarkerObjectTagInfoEXT.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 nobject(long struct)
object().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 nobject(long struct,
long value)
object.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.