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, NativeResource, Pointer
public class VkDebugMarkerObjectNameInfoEXT extends Struct
Passed toDebugMarkerSetObjectNameEXTto give a user-friendly name to a Vulkan object.Member documentation
sType– the type of this structure. Must be:STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXTpNext– reserved for use by extensionsobjectType– the type of the object to be named. One of:object– the object to be namedpObjectName– a null-terminated UTF-8 string specifying the name to apply toobject
Layout
struct VkDebugMarkerObjectNameInfoEXT { VkStructureType sType; const void * pNext; VkDebugReportObjectTypeEXT objectType; uint64_t object; const char * pObjectName; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classVkDebugMarkerObjectNameInfoEXT.BufferAn array ofVkDebugMarkerObjectNameInfoEXTstructs.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static intSIZEOFThe struct size in bytes.-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and 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 Modifier and Type Method and Description static VkDebugMarkerObjectNameInfoEXTcalloc()Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated withmemCalloc.static VkDebugMarkerObjectNameInfoEXT.Buffercalloc(int capacity)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated withmemCalloc.static VkDebugMarkerObjectNameInfoEXTcallocStack()Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXT.BuffercallocStack(int capacity)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXT.BuffercallocStack(int capacity, MemoryStack stack)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXTcallocStack(MemoryStack stack)Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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 ornullif the address isNULL.static VkDebugMarkerObjectNameInfoEXT.Buffercreate(long address, int capacity)Create aVkDebugMarkerObjectNameInfoEXT.Bufferinstance at the specified memory.static VkDebugMarkerObjectNameInfoEXTmalloc()Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated withmemAlloc.static VkDebugMarkerObjectNameInfoEXT.Buffermalloc(int capacity)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated withmemAlloc.static VkDebugMarkerObjectNameInfoEXTmallocStack()Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the thread-localMemoryStack.static VkDebugMarkerObjectNameInfoEXT.BuffermallocStack(int capacity)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkDebugMarkerObjectNameInfoEXT.BuffermallocStack(int capacity, MemoryStack stack)Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkDebugMarkerObjectNameInfoEXTmallocStack(MemoryStack stack)Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the specifiedMemoryStack.VkDebugMarkerObjectNameInfoEXTnset(long struct)Unsafe version ofset.longobject()Returns the value of theobjectfield.VkDebugMarkerObjectNameInfoEXTobject(long value)Sets the specified value to theobjectfield.intobjectType()Returns the value of theobjectTypefield.VkDebugMarkerObjectNameInfoEXTobjectType(int value)Sets the specified value to theobjectTypefield.longpNext()Returns the value of thepNextfield.VkDebugMarkerObjectNameInfoEXTpNext(long value)Sets the specified value to thepNextfield.java.nio.ByteBufferpObjectName()Returns aByteBufferview of the null-terminated string pointed to by thepObjectNamefield.VkDebugMarkerObjectNameInfoEXTpObjectName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thepObjectNamefield.java.lang.StringpObjectNameString()Decodes the null-terminated string pointed to by thepObjectNamefield.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()Returns thesizeof(struct).intsType()Returns the value of thesTypefield.VkDebugMarkerObjectNameInfoEXTsType(int value)Sets the specified value to thesTypefield.-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
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()
Description copied from class:StructReturns thesizeof(struct).
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
objectType
public int objectType()
Returns the value of theobjectTypefield.
-
object
public long object()
Returns the value of theobjectfield.
-
pObjectName
public java.nio.ByteBuffer pObjectName()
Returns aByteBufferview of the null-terminated string pointed to by thepObjectNamefield.
-
pObjectNameString
public java.lang.String pObjectNameString()
Decodes the null-terminated string pointed to by thepObjectNamefield.
-
sType
public VkDebugMarkerObjectNameInfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkDebugMarkerObjectNameInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
objectType
public VkDebugMarkerObjectNameInfoEXT objectType(int value)
Sets the specified value to theobjectTypefield.
-
object
public VkDebugMarkerObjectNameInfoEXT object(long value)
Sets the specified value to theobjectfield.
-
pObjectName
public VkDebugMarkerObjectNameInfoEXT pObjectName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepObjectNamefield.
-
set
public VkDebugMarkerObjectNameInfoEXT set(int sType, long pNext, int objectType, long object, java.nio.ByteBuffer pObjectName)
Initializes this struct with the specified values.
-
nset
public VkDebugMarkerObjectNameInfoEXT nset(long struct)
Unsafe version ofset.
-
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 ornullif the address isNULL.
-
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
-
mallocStack
public static VkDebugMarkerObjectNameInfoEXT mallocStack()
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDebugMarkerObjectNameInfoEXT callocStack()
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDebugMarkerObjectNameInfoEXT mallocStack(MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDebugMarkerObjectNameInfoEXT callocStack(MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkDebugMarkerObjectNameInfoEXT.Buffer mallocStack(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDebugMarkerObjectNameInfoEXT.Buffer callocStack(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkDebugMarkerObjectNameInfoEXT.Buffer mallocStack(int capacity, MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkDebugMarkerObjectNameInfoEXT.Buffer callocStack(int capacity, 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
-
-