public class VkPerformanceOverrideInfoINTEL
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTELpNext must be NULLtype must be a valid VkPerformanceOverrideTypeINTEL valueCmdSetPerformanceOverrideINTEL
type – the particular VkPerformanceOverrideTypeINTEL to set.enable – defines whether the override is enabled.parameter – a potential required parameter for the override.
struct VkPerformanceOverrideInfoINTEL {
VkStructureType sType;
void const * pNext;
VkPerformanceOverrideTypeINTEL type;
VkBool32 enable;
uint64_t parameter;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPerformanceOverrideInfoINTEL.Buffer
An array of
VkPerformanceOverrideInfoINTEL structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ENABLE
The struct member offsets.
|
static int |
PARAMETER
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.
|
static int |
TYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPerformanceOverrideInfoINTEL(java.nio.ByteBuffer container)
Creates a
VkPerformanceOverrideInfoINTEL instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPerformanceOverrideInfoINTEL |
calloc()
Returns a new
VkPerformanceOverrideInfoINTEL instance allocated with memCalloc. |
static VkPerformanceOverrideInfoINTEL.Buffer |
calloc(int capacity)
Returns a new
VkPerformanceOverrideInfoINTEL.Buffer instance allocated with memCalloc. |
static VkPerformanceOverrideInfoINTEL |
callocStack()
Returns a new
VkPerformanceOverrideInfoINTEL instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPerformanceOverrideInfoINTEL.Buffer |
callocStack(int capacity)
Returns a new
VkPerformanceOverrideInfoINTEL.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPerformanceOverrideInfoINTEL.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceOverrideInfoINTEL.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPerformanceOverrideInfoINTEL |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceOverrideInfoINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPerformanceOverrideInfoINTEL |
create()
Returns a new
VkPerformanceOverrideInfoINTEL instance allocated with BufferUtils. |
static VkPerformanceOverrideInfoINTEL.Buffer |
create(int capacity)
Returns a new
VkPerformanceOverrideInfoINTEL.Buffer instance allocated with BufferUtils. |
static VkPerformanceOverrideInfoINTEL |
create(long address)
Returns a new
VkPerformanceOverrideInfoINTEL instance for the specified memory address. |
static VkPerformanceOverrideInfoINTEL.Buffer |
create(long address,
int capacity)
Create a
VkPerformanceOverrideInfoINTEL.Buffer instance at the specified memory. |
static VkPerformanceOverrideInfoINTEL |
createSafe(long address)
|
static VkPerformanceOverrideInfoINTEL.Buffer |
createSafe(long address,
int capacity)
|
boolean |
enable()
Returns the value of the
enable field. |
VkPerformanceOverrideInfoINTEL |
enable(boolean value)
Sets the specified value to the
enable field. |
static VkPerformanceOverrideInfoINTEL |
malloc()
Returns a new
VkPerformanceOverrideInfoINTEL instance allocated with memAlloc. |
static VkPerformanceOverrideInfoINTEL.Buffer |
malloc(int capacity)
Returns a new
VkPerformanceOverrideInfoINTEL.Buffer instance allocated with memAlloc. |
static VkPerformanceOverrideInfoINTEL |
mallocStack()
Returns a new
VkPerformanceOverrideInfoINTEL instance allocated on the thread-local MemoryStack. |
static VkPerformanceOverrideInfoINTEL.Buffer |
mallocStack(int capacity)
Returns a new
VkPerformanceOverrideInfoINTEL.Buffer instance allocated on the thread-local MemoryStack. |
static VkPerformanceOverrideInfoINTEL.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceOverrideInfoINTEL.Buffer instance allocated on the specified MemoryStack. |
static VkPerformanceOverrideInfoINTEL |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPerformanceOverrideInfoINTEL instance allocated on the specified MemoryStack. |
static int |
nenable(long struct)
Unsafe version of
enable(). |
static void |
nenable(long struct,
int value)
Unsafe version of
enable. |
static long |
nparameter(long struct)
Unsafe version of
parameter(). |
static void |
nparameter(long struct,
long value)
Unsafe version of
parameter. |
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. |
static int |
ntype(long struct)
Unsafe version of
type(). |
static void |
ntype(long struct,
int value)
Unsafe version of
type. |
long |
parameter()
Returns the value of the
parameter field. |
VkPerformanceOverrideInfoINTEL |
parameter(long value)
Sets the specified value to the
parameter field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPerformanceOverrideInfoINTEL |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPerformanceOverrideInfoINTEL |
set(int sType,
long pNext,
int type,
boolean enable,
long parameter)
Initializes this struct with the specified values.
|
VkPerformanceOverrideInfoINTEL |
set(VkPerformanceOverrideInfoINTEL src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPerformanceOverrideInfoINTEL |
sType(int value)
Sets the specified value to the
sType field. |
int |
type()
Returns the value of the
type field. |
VkPerformanceOverrideInfoINTEL |
type(int value)
Sets the specified value to the
type 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 TYPE
public static final int ENABLE
public static final int PARAMETER
public VkPerformanceOverrideInfoINTEL(java.nio.ByteBuffer container)
VkPerformanceOverrideInfoINTEL 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 type()
type field.public boolean enable()
enable field.public long parameter()
parameter field.public VkPerformanceOverrideInfoINTEL sType(int value)
sType field.public VkPerformanceOverrideInfoINTEL pNext(long value)
pNext field.public VkPerformanceOverrideInfoINTEL type(int value)
type field.public VkPerformanceOverrideInfoINTEL enable(boolean value)
enable field.public VkPerformanceOverrideInfoINTEL parameter(long value)
parameter field.public VkPerformanceOverrideInfoINTEL set(int sType, long pNext, int type, boolean enable, long parameter)
public VkPerformanceOverrideInfoINTEL set(VkPerformanceOverrideInfoINTEL src)
src - the source structpublic static VkPerformanceOverrideInfoINTEL malloc()
VkPerformanceOverrideInfoINTEL instance allocated with memAlloc. The instance must be explicitly freed.public static VkPerformanceOverrideInfoINTEL calloc()
VkPerformanceOverrideInfoINTEL instance allocated with memCalloc. The instance must be explicitly freed.public static VkPerformanceOverrideInfoINTEL create()
VkPerformanceOverrideInfoINTEL instance allocated with BufferUtils.public static VkPerformanceOverrideInfoINTEL create(long address)
VkPerformanceOverrideInfoINTEL instance for the specified memory address.@Nullable public static VkPerformanceOverrideInfoINTEL createSafe(long address)
public static VkPerformanceOverrideInfoINTEL.Buffer malloc(int capacity)
VkPerformanceOverrideInfoINTEL.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPerformanceOverrideInfoINTEL.Buffer calloc(int capacity)
VkPerformanceOverrideInfoINTEL.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPerformanceOverrideInfoINTEL.Buffer create(int capacity)
VkPerformanceOverrideInfoINTEL.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPerformanceOverrideInfoINTEL.Buffer create(long address, int capacity)
VkPerformanceOverrideInfoINTEL.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPerformanceOverrideInfoINTEL.Buffer createSafe(long address, int capacity)
public static VkPerformanceOverrideInfoINTEL mallocStack()
VkPerformanceOverrideInfoINTEL instance allocated on the thread-local MemoryStack.public static VkPerformanceOverrideInfoINTEL callocStack()
VkPerformanceOverrideInfoINTEL instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPerformanceOverrideInfoINTEL mallocStack(org.lwjgl.system.MemoryStack stack)
VkPerformanceOverrideInfoINTEL instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPerformanceOverrideInfoINTEL callocStack(org.lwjgl.system.MemoryStack stack)
VkPerformanceOverrideInfoINTEL instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPerformanceOverrideInfoINTEL.Buffer mallocStack(int capacity)
VkPerformanceOverrideInfoINTEL.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPerformanceOverrideInfoINTEL.Buffer callocStack(int capacity)
VkPerformanceOverrideInfoINTEL.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPerformanceOverrideInfoINTEL.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPerformanceOverrideInfoINTEL.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPerformanceOverrideInfoINTEL.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPerformanceOverrideInfoINTEL.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 ntype(long struct)
type().public static int nenable(long struct)
enable().public static long nparameter(long struct)
parameter().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ntype(long struct,
int value)
type.public static void nenable(long struct,
int value)
enable.public static void nparameter(long struct,
long value)
parameter.Copyright LWJGL. All Rights Reserved. License terms.