public class VkPerformanceStreamMarkerInfoINTEL
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
marker must only used the valid bits as reported by GetPerformanceParameterINTEL with the PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL.sType must be STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTELpNext must be NULLCmdSetPerformanceStreamMarkerINTEL
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.marker – the marker value that will be recorded into the reports consumed by an external application.
struct VkPerformanceStreamMarkerInfoINTEL {
VkStructureType sType;
void const * pNext;
uint32_t marker;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPerformanceStreamMarkerInfoINTEL.Buffer
An array of
VkPerformanceStreamMarkerInfoINTEL structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MARKER
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 |
|---|
VkPerformanceStreamMarkerInfoINTEL(java.nio.ByteBuffer container)
Creates a
VkPerformanceStreamMarkerInfoINTEL instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPerformanceStreamMarkerInfoINTEL |
calloc()
Returns a new
VkPerformanceStreamMarkerInfoINTEL instance allocated with memCalloc. |
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
calloc(int capacity)
Returns a new
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated with memCalloc. |
static VkPerformanceStreamMarkerInfoINTEL |
callocStack()
Returns a new
VkPerformanceStreamMarkerInfoINTEL instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
callocStack(int capacity)
Returns a new
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPerformanceStreamMarkerInfoINTEL |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceStreamMarkerInfoINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPerformanceStreamMarkerInfoINTEL |
create()
Returns a new
VkPerformanceStreamMarkerInfoINTEL instance allocated with BufferUtils. |
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
create(int capacity)
Returns a new
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated with BufferUtils. |
static VkPerformanceStreamMarkerInfoINTEL |
create(long address)
Returns a new
VkPerformanceStreamMarkerInfoINTEL instance for the specified memory address. |
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
create(long address,
int capacity)
Create a
VkPerformanceStreamMarkerInfoINTEL.Buffer instance at the specified memory. |
static VkPerformanceStreamMarkerInfoINTEL |
createSafe(long address)
|
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
createSafe(long address,
int capacity)
|
static VkPerformanceStreamMarkerInfoINTEL |
malloc()
Returns a new
VkPerformanceStreamMarkerInfoINTEL instance allocated with memAlloc. |
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
malloc(int capacity)
Returns a new
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated with memAlloc. |
static VkPerformanceStreamMarkerInfoINTEL |
mallocStack()
Returns a new
VkPerformanceStreamMarkerInfoINTEL instance allocated on the thread-local MemoryStack. |
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
mallocStack(int capacity)
Returns a new
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated on the thread-local MemoryStack. |
static VkPerformanceStreamMarkerInfoINTEL.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated on the specified MemoryStack. |
static VkPerformanceStreamMarkerInfoINTEL |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceStreamMarkerInfoINTEL instance allocated on the specified MemoryStack. |
int |
marker()
Returns the value of the
marker field. |
VkPerformanceStreamMarkerInfoINTEL |
marker(int value)
Sets the specified value to the
marker field. |
static int |
nmarker(long struct)
Unsafe version of
marker(). |
static void |
nmarker(long struct,
int value)
Unsafe version of
marker. |
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. |
long |
pNext()
Returns the value of the
pNext field. |
VkPerformanceStreamMarkerInfoINTEL |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPerformanceStreamMarkerInfoINTEL |
set(int sType,
long pNext,
int marker)
Initializes this struct with the specified values.
|
VkPerformanceStreamMarkerInfoINTEL |
set(VkPerformanceStreamMarkerInfoINTEL src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPerformanceStreamMarkerInfoINTEL |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int MARKER
public VkPerformanceStreamMarkerInfoINTEL(java.nio.ByteBuffer container)
VkPerformanceStreamMarkerInfoINTEL 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 int marker()
marker field.public VkPerformanceStreamMarkerInfoINTEL sType(int value)
sType field.public VkPerformanceStreamMarkerInfoINTEL pNext(long value)
pNext field.public VkPerformanceStreamMarkerInfoINTEL marker(int value)
marker field.public VkPerformanceStreamMarkerInfoINTEL set(int sType, long pNext, int marker)
public VkPerformanceStreamMarkerInfoINTEL set(VkPerformanceStreamMarkerInfoINTEL src)
src - the source structpublic static VkPerformanceStreamMarkerInfoINTEL malloc()
VkPerformanceStreamMarkerInfoINTEL instance allocated with memAlloc. The instance must be explicitly freed.public static VkPerformanceStreamMarkerInfoINTEL calloc()
VkPerformanceStreamMarkerInfoINTEL instance allocated with memCalloc. The instance must be explicitly freed.public static VkPerformanceStreamMarkerInfoINTEL create()
VkPerformanceStreamMarkerInfoINTEL instance allocated with BufferUtils.public static VkPerformanceStreamMarkerInfoINTEL create(long address)
VkPerformanceStreamMarkerInfoINTEL instance for the specified memory address.@Nullable public static VkPerformanceStreamMarkerInfoINTEL createSafe(long address)
public static VkPerformanceStreamMarkerInfoINTEL.Buffer malloc(int capacity)
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPerformanceStreamMarkerInfoINTEL.Buffer calloc(int capacity)
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPerformanceStreamMarkerInfoINTEL.Buffer create(int capacity)
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPerformanceStreamMarkerInfoINTEL.Buffer create(long address, int capacity)
VkPerformanceStreamMarkerInfoINTEL.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPerformanceStreamMarkerInfoINTEL.Buffer createSafe(long address, int capacity)
public static VkPerformanceStreamMarkerInfoINTEL mallocStack()
VkPerformanceStreamMarkerInfoINTEL instance allocated on the thread-local MemoryStack.public static VkPerformanceStreamMarkerInfoINTEL callocStack()
VkPerformanceStreamMarkerInfoINTEL instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPerformanceStreamMarkerInfoINTEL mallocStack(org.lwjgl.system.MemoryStack stack)
VkPerformanceStreamMarkerInfoINTEL instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPerformanceStreamMarkerInfoINTEL callocStack(org.lwjgl.system.MemoryStack stack)
VkPerformanceStreamMarkerInfoINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPerformanceStreamMarkerInfoINTEL.Buffer mallocStack(int capacity)
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPerformanceStreamMarkerInfoINTEL.Buffer callocStack(int capacity)
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPerformanceStreamMarkerInfoINTEL.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPerformanceStreamMarkerInfoINTEL.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPerformanceStreamMarkerInfoINTEL.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPerformanceStreamMarkerInfoINTEL.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 int nmarker(long struct)
marker().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nmarker(long struct,
int value)
marker.Copyright LWJGL. All Rights Reserved. License terms.