public class VkDebugMarkerObjectNameInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
Applications may change the name associated with an object simply by calling vkDebugMarkerSetObjectNameEXT again with a new string. To remove a previously set name, pObjectName should be set to an empty string.
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_NAME_INFO_EXTpNext must be NULLobjectType must be a valid VkDebugReportObjectTypeEXT valuepObjectName must be a null-terminated UTF-8 stringsType – 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 named.pObjectName – a null-terminated UTF-8 string specifying the name to apply to object.
struct VkDebugMarkerObjectNameInfoEXT {
VkStructureType sType;
void const * pNext;
VkDebugReportObjectTypeEXT objectType;
uint64_t object;
char const * pObjectName;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDebugMarkerObjectNameInfoEXT.Buffer
An array of
VkDebugMarkerObjectNameInfoEXT 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 |
POBJECTNAME
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDebugMarkerObjectNameInfoEXT(java.nio.ByteBuffer container)
Creates a
VkDebugMarkerObjectNameInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDebugMarkerObjectNameInfoEXT |
calloc()
Returns a new
VkDebugMarkerObjectNameInfoEXT instance allocated with memCalloc. |
static VkDebugMarkerObjectNameInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated with memCalloc. |
static VkDebugMarkerObjectNameInfoEXT |
callocStack()
Returns a new
VkDebugMarkerObjectNameInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerObjectNameInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerObjectNameInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerObjectNameInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerObjectNameInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerObjectNameInfoEXT |
create()
Returns a new
VkDebugMarkerObjectNameInfoEXT instance allocated with BufferUtils. |
static VkDebugMarkerObjectNameInfoEXT.Buffer |
create(int capacity)
Returns a new
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated with BufferUtils. |
static VkDebugMarkerObjectNameInfoEXT |
create(long address)
Returns a new
VkDebugMarkerObjectNameInfoEXT instance for the specified memory address. |
static VkDebugMarkerObjectNameInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkDebugMarkerObjectNameInfoEXT.Buffer instance at the specified memory. |
static VkDebugMarkerObjectNameInfoEXT |
createSafe(long address)
|
static VkDebugMarkerObjectNameInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkDebugMarkerObjectNameInfoEXT |
malloc()
Returns a new
VkDebugMarkerObjectNameInfoEXT instance allocated with memAlloc. |
static VkDebugMarkerObjectNameInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated with memAlloc. |
static VkDebugMarkerObjectNameInfoEXT |
mallocStack()
Returns a new
VkDebugMarkerObjectNameInfoEXT instance allocated on the thread-local MemoryStack. |
static VkDebugMarkerObjectNameInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDebugMarkerObjectNameInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDebugMarkerObjectNameInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerObjectNameInfoEXT 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 |
npObjectName(long struct)
Unsafe version of
pObjectName(). |
static void |
npObjectName(long struct,
java.nio.ByteBuffer value)
Unsafe version of
pObjectName. |
static java.lang.String |
npObjectNameString(long struct)
Unsafe version of
pObjectNameString(). |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
object()
Returns the value of the
object field. |
VkDebugMarkerObjectNameInfoEXT |
object(long value)
Sets the specified value to the
object field. |
int |
objectType()
Returns the value of the
objectType field. |
VkDebugMarkerObjectNameInfoEXT |
objectType(int value)
Sets the specified value to the
objectType field. |
long |
pNext()
Returns the value of the
pNext field. |
VkDebugMarkerObjectNameInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.ByteBuffer |
pObjectName()
Returns a
ByteBuffer view of the null-terminated string pointed to by the pObjectName field. |
VkDebugMarkerObjectNameInfoEXT |
pObjectName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to the
pObjectName field. |
java.lang.String |
pObjectNameString()
Decodes the null-terminated string pointed to by the
pObjectName field. |
VkDebugMarkerObjectNameInfoEXT |
set(int sType,
long pNext,
int objectType,
long object,
java.nio.ByteBuffer pObjectName)
Initializes this struct with the specified values.
|
VkDebugMarkerObjectNameInfoEXT |
set(VkDebugMarkerObjectNameInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDebugMarkerObjectNameInfoEXT |
sType(int value)
Sets the specified value to the
sType 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 POBJECTNAME
public VkDebugMarkerObjectNameInfoEXT(java.nio.ByteBuffer container)
VkDebugMarkerObjectNameInfoEXT 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 java.nio.ByteBuffer pObjectName()
ByteBuffer view of the null-terminated string pointed to by the pObjectName field.public java.lang.String pObjectNameString()
pObjectName field.public VkDebugMarkerObjectNameInfoEXT sType(int value)
sType field.public VkDebugMarkerObjectNameInfoEXT pNext(long value)
pNext field.public VkDebugMarkerObjectNameInfoEXT objectType(int value)
objectType field.public VkDebugMarkerObjectNameInfoEXT object(long value)
object field.public VkDebugMarkerObjectNameInfoEXT pObjectName(java.nio.ByteBuffer value)
pObjectName field.public VkDebugMarkerObjectNameInfoEXT set(int sType, long pNext, int objectType, long object, java.nio.ByteBuffer pObjectName)
public VkDebugMarkerObjectNameInfoEXT set(VkDebugMarkerObjectNameInfoEXT src)
src - the source structpublic static VkDebugMarkerObjectNameInfoEXT malloc()
VkDebugMarkerObjectNameInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDebugMarkerObjectNameInfoEXT calloc()
VkDebugMarkerObjectNameInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDebugMarkerObjectNameInfoEXT create()
VkDebugMarkerObjectNameInfoEXT instance allocated with BufferUtils.public static VkDebugMarkerObjectNameInfoEXT create(long address)
VkDebugMarkerObjectNameInfoEXT instance for the specified memory address.@Nullable public static VkDebugMarkerObjectNameInfoEXT createSafe(long address)
public static VkDebugMarkerObjectNameInfoEXT.Buffer malloc(int capacity)
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDebugMarkerObjectNameInfoEXT.Buffer calloc(int capacity)
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDebugMarkerObjectNameInfoEXT.Buffer create(int capacity)
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDebugMarkerObjectNameInfoEXT.Buffer create(long address, int capacity)
VkDebugMarkerObjectNameInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDebugMarkerObjectNameInfoEXT.Buffer createSafe(long address, int capacity)
public static VkDebugMarkerObjectNameInfoEXT mallocStack()
VkDebugMarkerObjectNameInfoEXT instance allocated on the thread-local MemoryStack.public static VkDebugMarkerObjectNameInfoEXT callocStack()
VkDebugMarkerObjectNameInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDebugMarkerObjectNameInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDebugMarkerObjectNameInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDebugMarkerObjectNameInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDebugMarkerObjectNameInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDebugMarkerObjectNameInfoEXT.Buffer mallocStack(int capacity)
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDebugMarkerObjectNameInfoEXT.Buffer callocStack(int capacity)
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDebugMarkerObjectNameInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDebugMarkerObjectNameInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDebugMarkerObjectNameInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDebugMarkerObjectNameInfoEXT.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 java.nio.ByteBuffer npObjectName(long struct)
pObjectName().public static java.lang.String npObjectNameString(long struct)
pObjectNameString().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 npObjectName(long struct,
java.nio.ByteBuffer value)
pObjectName.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.