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 toDebugMarkerSetObjectNameEXT
to 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_EXT
pNext
– 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 class
VkDebugMarkerObjectNameInfoEXT.Buffer
An array ofVkDebugMarkerObjectNameInfoEXT
structs.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static int
SIZEOF
The 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 aVkDebugMarkerObjectNameInfoEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static VkDebugMarkerObjectNameInfoEXT
calloc()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated withmemCalloc
.static VkDebugMarkerObjectNameInfoEXT.Buffer
calloc(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated withmemCalloc
.static VkDebugMarkerObjectNameInfoEXT
callocStack()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXT.Buffer
callocStack(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXT.Buffer
callocStack(int capacity, MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXT
callocStack(MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDebugMarkerObjectNameInfoEXT
create()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated withBufferUtils
.static VkDebugMarkerObjectNameInfoEXT.Buffer
create(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated withBufferUtils
.static VkDebugMarkerObjectNameInfoEXT
create(long address)
Returns a newVkDebugMarkerObjectNameInfoEXT
instance for the specified memory address ornull
if the address isNULL
.static VkDebugMarkerObjectNameInfoEXT.Buffer
create(long address, int capacity)
Create aVkDebugMarkerObjectNameInfoEXT.Buffer
instance at the specified memory.static VkDebugMarkerObjectNameInfoEXT
malloc()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated withmemAlloc
.static VkDebugMarkerObjectNameInfoEXT.Buffer
malloc(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated withmemAlloc
.static VkDebugMarkerObjectNameInfoEXT
mallocStack()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated on the thread-localMemoryStack
.static VkDebugMarkerObjectNameInfoEXT.Buffer
mallocStack(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkDebugMarkerObjectNameInfoEXT.Buffer
mallocStack(int capacity, MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkDebugMarkerObjectNameInfoEXT
mallocStack(MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated on the specifiedMemoryStack
.VkDebugMarkerObjectNameInfoEXT
nset(long struct)
Unsafe version ofset
.long
object()
Returns the value of theobject
field.VkDebugMarkerObjectNameInfoEXT
object(long value)
Sets the specified value to theobject
field.int
objectType()
Returns the value of theobjectType
field.VkDebugMarkerObjectNameInfoEXT
objectType(int value)
Sets the specified value to theobjectType
field.long
pNext()
Returns the value of thepNext
field.VkDebugMarkerObjectNameInfoEXT
pNext(long value)
Sets the specified value to thepNext
field.java.nio.ByteBuffer
pObjectName()
Returns aByteBuffer
view of the null-terminated string pointed to by thepObjectName
field.VkDebugMarkerObjectNameInfoEXT
pObjectName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepObjectName
field.java.lang.String
pObjectNameString()
Decodes the null-terminated string pointed to by thepObjectName
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()
Returns thesizeof(struct)
.int
sType()
Returns the value of thesType
field.VkDebugMarkerObjectNameInfoEXT
sType(int value)
Sets the specified value to thesType
field.-
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 aVkDebugMarkerObjectNameInfoEXT
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
Description copied from class:Struct
Returns thesizeof(struct)
.
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
objectType
public int objectType()
Returns the value of theobjectType
field.
-
object
public long object()
Returns the value of theobject
field.
-
pObjectName
public java.nio.ByteBuffer pObjectName()
Returns aByteBuffer
view of the null-terminated string pointed to by thepObjectName
field.
-
pObjectNameString
public java.lang.String pObjectNameString()
Decodes the null-terminated string pointed to by thepObjectName
field.
-
sType
public VkDebugMarkerObjectNameInfoEXT sType(int value)
Sets the specified value 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.
-
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 newVkDebugMarkerObjectNameInfoEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDebugMarkerObjectNameInfoEXT calloc()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDebugMarkerObjectNameInfoEXT create()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated withBufferUtils
.
-
create
public static VkDebugMarkerObjectNameInfoEXT create(long address)
Returns a newVkDebugMarkerObjectNameInfoEXT
instance for the specified memory address ornull
if the address isNULL
.
-
malloc
public static VkDebugMarkerObjectNameInfoEXT.Buffer malloc(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDebugMarkerObjectNameInfoEXT.Buffer calloc(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDebugMarkerObjectNameInfoEXT.Buffer create(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDebugMarkerObjectNameInfoEXT.Buffer create(long address, int capacity)
Create aVkDebugMarkerObjectNameInfoEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
mallocStack
public static VkDebugMarkerObjectNameInfoEXT mallocStack()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDebugMarkerObjectNameInfoEXT callocStack()
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDebugMarkerObjectNameInfoEXT mallocStack(MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDebugMarkerObjectNameInfoEXT callocStack(MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDebugMarkerObjectNameInfoEXT.Buffer callocStack(int capacity)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDebugMarkerObjectNameInfoEXT.Buffer mallocStack(int capacity, MemoryStack stack)
Returns a newVkDebugMarkerObjectNameInfoEXT.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-