Package org.lwjgl.vulkan
Class VkDebugMarkerMarkerInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDebugMarkerMarkerInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDebugMarkerMarkerInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceSpecify parameters of a command buffer marker region.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXTpNextmust beNULLpMarkerNamemust be a null-terminated UTF-8 string
See Also
CmdDebugMarkerBeginEXT,CmdDebugMarkerInsertEXTLayout
struct VkDebugMarkerMarkerInfoEXT { VkStructureTypesType(); void const *pNext(); char const *pMarkerName(); floatcolor()[4]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDebugMarkerMarkerInfoEXT.BufferAn array ofVkDebugMarkerMarkerInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkDebugMarkerMarkerInfoEXT(java.nio.ByteBuffer container)Creates aVkDebugMarkerMarkerInfoEXTinstance 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 VkDebugMarkerMarkerInfoEXTcalloc()Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated withmemCalloc.static VkDebugMarkerMarkerInfoEXT.Buffercalloc(int capacity)Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated withmemCalloc.static VkDebugMarkerMarkerInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDebugMarkerMarkerInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDebugMarkerMarkerInfoEXTcallocStack()Deprecated.static VkDebugMarkerMarkerInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkDebugMarkerMarkerInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDebugMarkerMarkerInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.java.nio.FloatBuffercolor()an optional RGBA color value that can be associated with the marker.floatcolor(int index)an optional RGBA color value that can be associated with the marker.VkDebugMarkerMarkerInfoEXTcolor(int index, float value)Sets the specified value at the specified index of thecolor()field.VkDebugMarkerMarkerInfoEXTcolor(java.nio.FloatBuffer value)Copies the specifiedFloatBufferto thecolor()field.static VkDebugMarkerMarkerInfoEXTcreate()Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated withBufferUtils.static VkDebugMarkerMarkerInfoEXT.Buffercreate(int capacity)Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated withBufferUtils.static VkDebugMarkerMarkerInfoEXTcreate(long address)Returns a newVkDebugMarkerMarkerInfoEXTinstance for the specified memory address.static VkDebugMarkerMarkerInfoEXT.Buffercreate(long address, int capacity)Create aVkDebugMarkerMarkerInfoEXT.Bufferinstance at the specified memory.static VkDebugMarkerMarkerInfoEXTcreateSafe(long address)static VkDebugMarkerMarkerInfoEXT.BuffercreateSafe(long address, int capacity)static VkDebugMarkerMarkerInfoEXTmalloc()Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated withmemAlloc.static VkDebugMarkerMarkerInfoEXT.Buffermalloc(int capacity)Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated withmemAlloc.static VkDebugMarkerMarkerInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkDebugMarkerMarkerInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated on the specifiedMemoryStack.static VkDebugMarkerMarkerInfoEXTmallocStack()Deprecated.static VkDebugMarkerMarkerInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkDebugMarkerMarkerInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDebugMarkerMarkerInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static java.nio.FloatBufferncolor(long struct)Unsafe version ofcolor().static floatncolor(long struct, int index)Unsafe version ofcolor.static voidncolor(long struct, int index, float value)Unsafe version ofcolor.static voidncolor(long struct, java.nio.FloatBuffer value)Unsafe version ofcolor.static java.nio.ByteBuffernpMarkerName(long struct)Unsafe version ofpMarkerName().static voidnpMarkerName(long struct, java.nio.ByteBuffer value)Unsafe version ofpMarkerName.static java.lang.StringnpMarkerNameString(long struct)Unsafe version ofpMarkerNameString().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.java.nio.ByteBufferpMarkerName()a pointer to a null-terminated UTF-8 string containing the name of the marker.VkDebugMarkerMarkerInfoEXTpMarkerName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thepMarkerName()field.java.lang.StringpMarkerNameString()a pointer to a null-terminated UTF-8 string containing the name of the marker.longpNext()NULLor a pointer to a structure extending this structure.VkDebugMarkerMarkerInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkDebugMarkerMarkerInfoEXTset(int sType, long pNext, java.nio.ByteBuffer pMarkerName, java.nio.FloatBuffer color)Initializes this struct with the specified values.VkDebugMarkerMarkerInfoEXTset(VkDebugMarkerMarkerInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkDebugMarkerMarkerInfoEXTsType(int value)Sets the specified value to thesType()field.VkDebugMarkerMarkerInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkDebugMarkerMarkerInfoEXT
public VkDebugMarkerMarkerInfoEXT(java.nio.ByteBuffer container)
Creates aVkDebugMarkerMarkerInfoEXTinstance 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.
-
pMarkerName, pMarkerNameString
public java.nio.ByteBuffer pMarkerName() public java.lang.String pMarkerNameString()
a pointer to a null-terminated UTF-8 string containing the name of the marker.
-
color
public java.nio.FloatBuffer color() public float color(int index)
an optional RGBA color value that can be associated with the marker. A particular implementation may choose to ignore this color value. The values contain RGBA values in order, in the range 0.0 to 1.0. If all elements incolorare set to 0.0 then it is ignored.
-
sType
public VkDebugMarkerMarkerInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkDebugMarkerMarkerInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXTvalue to thesType()field.
-
pNext
public VkDebugMarkerMarkerInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pMarkerName
public VkDebugMarkerMarkerInfoEXT pMarkerName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepMarkerName()field.
-
color
public VkDebugMarkerMarkerInfoEXT color(java.nio.FloatBuffer value)
Copies the specifiedFloatBufferto thecolor()field.
-
color
public VkDebugMarkerMarkerInfoEXT color(int index, float value)
Sets the specified value at the specified index of thecolor()field.
-
set
public VkDebugMarkerMarkerInfoEXT set(int sType, long pNext, java.nio.ByteBuffer pMarkerName, java.nio.FloatBuffer color)
Initializes this struct with the specified values.
-
set
public VkDebugMarkerMarkerInfoEXT set(VkDebugMarkerMarkerInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDebugMarkerMarkerInfoEXT malloc()
Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDebugMarkerMarkerInfoEXT calloc()
Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDebugMarkerMarkerInfoEXT create()
Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated withBufferUtils.
-
create
public static VkDebugMarkerMarkerInfoEXT create(long address)
Returns a newVkDebugMarkerMarkerInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkDebugMarkerMarkerInfoEXT createSafe(long address)
-
malloc
public static VkDebugMarkerMarkerInfoEXT.Buffer malloc(int capacity)
Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDebugMarkerMarkerInfoEXT.Buffer calloc(int capacity)
Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDebugMarkerMarkerInfoEXT.Buffer create(int capacity)
Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDebugMarkerMarkerInfoEXT.Buffer create(long address, int capacity)
Create aVkDebugMarkerMarkerInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDebugMarkerMarkerInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkDebugMarkerMarkerInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDebugMarkerMarkerInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDebugMarkerMarkerInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDebugMarkerMarkerInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDebugMarkerMarkerInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDebugMarkerMarkerInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDebugMarkerMarkerInfoEXT.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 VkDebugMarkerMarkerInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkDebugMarkerMarkerInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDebugMarkerMarkerInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugMarkerMarkerInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDebugMarkerMarkerInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugMarkerMarkerInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDebugMarkerMarkerInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDebugMarkerMarkerInfoEXT.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().
-
npMarkerName
public static java.nio.ByteBuffer npMarkerName(long struct)
Unsafe version ofpMarkerName().
-
npMarkerNameString
public static java.lang.String npMarkerNameString(long struct)
Unsafe version ofpMarkerNameString().
-
ncolor
public static java.nio.FloatBuffer ncolor(long struct)
Unsafe version ofcolor().
-
ncolor
public static float ncolor(long struct, int index)Unsafe version ofcolor.
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
npMarkerName
public static void npMarkerName(long struct, java.nio.ByteBuffer value)Unsafe version ofpMarkerName.
-
ncolor
public static void ncolor(long struct, java.nio.FloatBuffer value)Unsafe version ofcolor.
-
ncolor
public static void ncolor(long struct, int index, float value)Unsafe version ofcolor.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-