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