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