public class VkDebugMarkerMarkerInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXTpNext must be NULLpMarkerName must be a null-terminated UTF-8 stringCmdDebugMarkerBeginEXT, CmdDebugMarkerInsertEXT
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.pMarkerName – a pointer to a null-terminated UTF-8 string containing the name of the marker.color[4] – 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 in color are set to 0.0 then it is ignored.
struct VkDebugMarkerMarkerInfoEXT {
VkStructureType sType;
void const * pNext;
char const * pMarkerName;
float color[4];
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDebugMarkerMarkerInfoEXT.Buffer
An array of
VkDebugMarkerMarkerInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COLOR
The struct member offsets.
|
static int |
PMARKERNAME
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDebugMarkerMarkerInfoEXT(java.nio.ByteBuffer container)
Creates a
VkDebugMarkerMarkerInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDebugMarkerMarkerInfoEXT |
calloc()
Returns a new
VkDebugMarkerMarkerInfoEXT instance allocated with memCalloc. |
static VkDebugMarkerMarkerInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated with memCalloc. |
static VkDebugMarkerMarkerInfoEXT |
callocStack()
Returns a new
VkDebugMarkerMarkerInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerMarkerInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerMarkerInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDebugMarkerMarkerInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerMarkerInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
java.nio.FloatBuffer |
color()
Returns a
FloatBuffer view of the color field. |
VkDebugMarkerMarkerInfoEXT |
color(java.nio.FloatBuffer value)
Copies the specified
FloatBuffer to the color field. |
float |
color(int index)
Returns the value at the specified index of the
color field. |
VkDebugMarkerMarkerInfoEXT |
color(int index,
float value)
Sets the specified value at the specified index of the
color field. |
static VkDebugMarkerMarkerInfoEXT |
create()
Returns a new
VkDebugMarkerMarkerInfoEXT instance allocated with BufferUtils. |
static VkDebugMarkerMarkerInfoEXT.Buffer |
create(int capacity)
Returns a new
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated with BufferUtils. |
static VkDebugMarkerMarkerInfoEXT |
create(long address)
Returns a new
VkDebugMarkerMarkerInfoEXT instance for the specified memory address. |
static VkDebugMarkerMarkerInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkDebugMarkerMarkerInfoEXT.Buffer instance at the specified memory. |
static VkDebugMarkerMarkerInfoEXT |
createSafe(long address)
|
static VkDebugMarkerMarkerInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkDebugMarkerMarkerInfoEXT |
malloc()
Returns a new
VkDebugMarkerMarkerInfoEXT instance allocated with memAlloc. |
static VkDebugMarkerMarkerInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated with memAlloc. |
static VkDebugMarkerMarkerInfoEXT |
mallocStack()
Returns a new
VkDebugMarkerMarkerInfoEXT instance allocated on the thread-local MemoryStack. |
static VkDebugMarkerMarkerInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDebugMarkerMarkerInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDebugMarkerMarkerInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDebugMarkerMarkerInfoEXT instance allocated on the specified MemoryStack. |
static java.nio.FloatBuffer |
ncolor(long struct)
Unsafe version of
color(). |
static void |
ncolor(long struct,
java.nio.FloatBuffer value)
Unsafe version of
color. |
static float |
ncolor(long struct,
int index)
Unsafe version of
color. |
static void |
ncolor(long struct,
int index,
float value)
Unsafe version of
color. |
static java.nio.ByteBuffer |
npMarkerName(long struct)
Unsafe version of
pMarkerName(). |
static void |
npMarkerName(long struct,
java.nio.ByteBuffer value)
Unsafe version of
pMarkerName. |
static java.lang.String |
npMarkerNameString(long struct)
Unsafe version of
pMarkerNameString(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
java.nio.ByteBuffer |
pMarkerName()
Returns a
ByteBuffer view of the null-terminated string pointed to by the pMarkerName field. |
VkDebugMarkerMarkerInfoEXT |
pMarkerName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to the
pMarkerName field. |
java.lang.String |
pMarkerNameString()
Decodes the null-terminated string pointed to by the
pMarkerName field. |
long |
pNext()
Returns the value of the
pNext field. |
VkDebugMarkerMarkerInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDebugMarkerMarkerInfoEXT |
set(int sType,
long pNext,
java.nio.ByteBuffer pMarkerName,
java.nio.FloatBuffer color)
Initializes this struct with the specified values.
|
VkDebugMarkerMarkerInfoEXT |
set(VkDebugMarkerMarkerInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDebugMarkerMarkerInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int PMARKERNAME
public static final int COLOR
public VkDebugMarkerMarkerInfoEXT(java.nio.ByteBuffer container)
VkDebugMarkerMarkerInfoEXT 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 java.nio.ByteBuffer pMarkerName()
ByteBuffer view of the null-terminated string pointed to by the pMarkerName field.public java.lang.String pMarkerNameString()
pMarkerName field.public java.nio.FloatBuffer color()
FloatBuffer view of the color field.public float color(int index)
color field.public VkDebugMarkerMarkerInfoEXT sType(int value)
sType field.public VkDebugMarkerMarkerInfoEXT pNext(long value)
pNext field.public VkDebugMarkerMarkerInfoEXT pMarkerName(java.nio.ByteBuffer value)
pMarkerName field.public VkDebugMarkerMarkerInfoEXT color(java.nio.FloatBuffer value)
FloatBuffer to the color field.public VkDebugMarkerMarkerInfoEXT color(int index, float value)
color field.public VkDebugMarkerMarkerInfoEXT set(int sType, long pNext, java.nio.ByteBuffer pMarkerName, java.nio.FloatBuffer color)
public VkDebugMarkerMarkerInfoEXT set(VkDebugMarkerMarkerInfoEXT src)
src - the source structpublic static VkDebugMarkerMarkerInfoEXT malloc()
VkDebugMarkerMarkerInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDebugMarkerMarkerInfoEXT calloc()
VkDebugMarkerMarkerInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDebugMarkerMarkerInfoEXT create()
VkDebugMarkerMarkerInfoEXT instance allocated with BufferUtils.public static VkDebugMarkerMarkerInfoEXT create(long address)
VkDebugMarkerMarkerInfoEXT instance for the specified memory address.@Nullable public static VkDebugMarkerMarkerInfoEXT createSafe(long address)
public static VkDebugMarkerMarkerInfoEXT.Buffer malloc(int capacity)
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDebugMarkerMarkerInfoEXT.Buffer calloc(int capacity)
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDebugMarkerMarkerInfoEXT.Buffer create(int capacity)
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDebugMarkerMarkerInfoEXT.Buffer create(long address, int capacity)
VkDebugMarkerMarkerInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDebugMarkerMarkerInfoEXT.Buffer createSafe(long address, int capacity)
public static VkDebugMarkerMarkerInfoEXT mallocStack()
VkDebugMarkerMarkerInfoEXT instance allocated on the thread-local MemoryStack.public static VkDebugMarkerMarkerInfoEXT callocStack()
VkDebugMarkerMarkerInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDebugMarkerMarkerInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDebugMarkerMarkerInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDebugMarkerMarkerInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDebugMarkerMarkerInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDebugMarkerMarkerInfoEXT.Buffer mallocStack(int capacity)
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDebugMarkerMarkerInfoEXT.Buffer callocStack(int capacity)
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDebugMarkerMarkerInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDebugMarkerMarkerInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDebugMarkerMarkerInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDebugMarkerMarkerInfoEXT.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 java.nio.ByteBuffer npMarkerName(long struct)
pMarkerName().public static java.lang.String npMarkerNameString(long struct)
pMarkerNameString().public static java.nio.FloatBuffer ncolor(long struct)
color().public static float ncolor(long struct,
int index)
color.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void npMarkerName(long struct,
java.nio.ByteBuffer value)
pMarkerName.public static void ncolor(long struct,
java.nio.FloatBuffer value)
color.public static void ncolor(long struct,
int index,
float value)
color.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.