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