Package org.lwjgl.vulkan
Class VkDebugMarkerObjectNameInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDebugMarkerObjectNameInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDebugMarkerObjectNameInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceSpecify parameters of a name to give to an object.Description
Applications may change the name associated with an object simply by calling
vkDebugMarkerSetObjectNameEXTagain with a new string. To remove a previously set name,pObjectNameshould be set to an empty string.Valid Usage
objectTypemust not beDEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXTobjectmust not beNULL_HANDLEobjectmust be a Vulkan object of the type associated withobjectTypeas defined inVkDebugReportObjectTypeEXTand Vulkan Handle Relationship
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXTpNextmust beNULLobjectTypemust be a validVkDebugReportObjectTypeEXTvaluepObjectNamemust be a null-terminated UTF-8 string
See Also
Layout
struct VkDebugMarkerObjectNameInfoEXT { VkStructureTypesType(); void const *pNext(); VkDebugReportObjectTypeEXTobjectType(); uint64_tobject(); char const *pObjectName(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDebugMarkerObjectNameInfoEXT.BufferAn array ofVkDebugMarkerObjectNameInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intOBJECT
OBJECTTYPE
PNEXT
POBJECTNAMEThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDebugMarkerObjectNameInfoEXT(java.nio.ByteBuffer container)Creates aVkDebugMarkerObjectNameInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkDebugMarkerObjectNameInfoEXTcalloc()Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated withmemCalloc.static VkDebugMarkerObjectNameInfoEXT.Buffercalloc(int capacity)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated withmemCalloc.static VkDebugMarkerObjectNameInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXTcallocStack()Deprecated.static VkDebugMarkerObjectNameInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkDebugMarkerObjectNameInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDebugMarkerObjectNameInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkDebugMarkerObjectNameInfoEXTcreate()Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated withBufferUtils.static VkDebugMarkerObjectNameInfoEXT.Buffercreate(int capacity)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated withBufferUtils.static VkDebugMarkerObjectNameInfoEXTcreate(long address)Returns a newVkDebugMarkerObjectNameInfoEXTinstance for the specified memory address.static VkDebugMarkerObjectNameInfoEXT.Buffercreate(long address, int capacity)Create aVkDebugMarkerObjectNameInfoEXT.Bufferinstance at the specified memory.static VkDebugMarkerObjectNameInfoEXTcreateSafe(long address)static VkDebugMarkerObjectNameInfoEXT.BuffercreateSafe(long address, int capacity)static VkDebugMarkerObjectNameInfoEXTmalloc()Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated withmemAlloc.static VkDebugMarkerObjectNameInfoEXT.Buffermalloc(int capacity)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated withmemAlloc.static VkDebugMarkerObjectNameInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkDebugMarkerObjectNameInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the specifiedMemoryStack.static VkDebugMarkerObjectNameInfoEXTmallocStack()Deprecated.static VkDebugMarkerObjectNameInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkDebugMarkerObjectNameInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDebugMarkerObjectNameInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnobject(long struct)Unsafe version ofobject().static voidnobject(long struct, long value)Unsafe version ofobject.static intnobjectType(long struct)Unsafe version ofobjectType().static voidnobjectType(long struct, int value)Unsafe version ofobjectType.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static java.nio.ByteBuffernpObjectName(long struct)Unsafe version ofpObjectName().static voidnpObjectName(long struct, java.nio.ByteBuffer value)Unsafe version ofpObjectName.static java.lang.StringnpObjectNameString(long struct)Unsafe version ofpObjectNameString().static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longobject()the object to be named.VkDebugMarkerObjectNameInfoEXTobject(long value)Sets the specified value to theobject()field.intobjectType()aVkDebugReportObjectTypeEXTspecifying the type of the object to be named.VkDebugMarkerObjectNameInfoEXTobjectType(int value)Sets the specified value to theobjectType()field.longpNext()NULLor a pointer to a structure extending this structure.VkDebugMarkerObjectNameInfoEXTpNext(long value)Sets the specified value to thepNext()field.java.nio.ByteBufferpObjectName()a null-terminated UTF-8 string specifying the name to apply toobject.VkDebugMarkerObjectNameInfoEXTpObjectName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thepObjectName()field.java.lang.StringpObjectNameString()a null-terminated UTF-8 string specifying the name to apply toobject.VkDebugMarkerObjectNameInfoEXTset(int sType, long pNext, int objectType, long object, java.nio.ByteBuffer pObjectName)Initializes this struct with the specified values.VkDebugMarkerObjectNameInfoEXTset(VkDebugMarkerObjectNameInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkDebugMarkerObjectNameInfoEXTsType(int value)Sets the specified value to thesType()field.VkDebugMarkerObjectNameInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkDebugMarkerObjectNameInfoEXT
public VkDebugMarkerObjectNameInfoEXT(java.nio.ByteBuffer container)
Creates aVkDebugMarkerObjectNameInfoEXTinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
objectType
public int objectType()
aVkDebugReportObjectTypeEXTspecifying the type of the object to be named.
-
object
public long object()
the object to be named.
-
pObjectName, pObjectNameString
public java.nio.ByteBuffer pObjectName() public java.lang.String pObjectNameString()
a null-terminated UTF-8 string specifying the name to apply toobject.
-
sType
public VkDebugMarkerObjectNameInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkDebugMarkerObjectNameInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXTvalue to thesType()field.
-
pNext
public VkDebugMarkerObjectNameInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
objectType
public VkDebugMarkerObjectNameInfoEXT objectType(int value)
Sets the specified value to theobjectType()field.
-
object
public VkDebugMarkerObjectNameInfoEXT object(long value)
Sets the specified value to theobject()field.
-
pObjectName
public VkDebugMarkerObjectNameInfoEXT pObjectName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepObjectName()field.
-
set
public VkDebugMarkerObjectNameInfoEXT set(int sType, long pNext, int objectType, long object, java.nio.ByteBuffer pObjectName)
Initializes this struct with the specified values.
-
set
public VkDebugMarkerObjectNameInfoEXT set(VkDebugMarkerObjectNameInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDebugMarkerObjectNameInfoEXT malloc()
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDebugMarkerObjectNameInfoEXT calloc()
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDebugMarkerObjectNameInfoEXT create()
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated withBufferUtils.
-
create
public static VkDebugMarkerObjectNameInfoEXT create(long address)
Returns a newVkDebugMarkerObjectNameInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkDebugMarkerObjectNameInfoEXT createSafe(long address)
-
malloc
public static VkDebugMarkerObjectNameInfoEXT.Buffer malloc(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDebugMarkerObjectNameInfoEXT.Buffer calloc(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDebugMarkerObjectNameInfoEXT.Buffer create(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDebugMarkerObjectNameInfoEXT.Buffer create(long address, int capacity)
Create aVkDebugMarkerObjectNameInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDebugMarkerObjectNameInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkDebugMarkerObjectNameInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDebugMarkerObjectNameInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDebugMarkerObjectNameInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDebugMarkerObjectNameInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDebugMarkerObjectNameInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDebugMarkerObjectNameInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDebugMarkerObjectNameInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDebugMarkerObjectNameInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkDebugMarkerObjectNameInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDebugMarkerObjectNameInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDebugMarkerObjectNameInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDebugMarkerObjectNameInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand 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().
-
nobjectType
public static int nobjectType(long struct)
Unsafe version ofobjectType().
-
nobject
public static long nobject(long struct)
Unsafe version ofobject().
-
npObjectName
public static java.nio.ByteBuffer npObjectName(long struct)
Unsafe version ofpObjectName().
-
npObjectNameString
public static java.lang.String npObjectNameString(long struct)
Unsafe version ofpObjectNameString().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nobjectType
public static void nobjectType(long struct, int value)Unsafe version ofobjectType.
-
nobject
public static void nobject(long struct, long value)Unsafe version ofobject.
-
npObjectName
public static void npObjectName(long struct, java.nio.ByteBuffer value)Unsafe version ofpObjectName.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-