public class VkPipelineDynamicStateCreateInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
pDynamicStates must be uniquesType must be STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFOpNext must be NULLflags must be 0dynamicStateCount is not 0, pDynamicStates must be a valid pointer to an array of dynamicStateCount valid VkDynamicState valuessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.dynamicStateCount – the number of elements in the pDynamicStates array.pDynamicStates – a pointer to an array of VkDynamicState values specifying which pieces of pipeline state will use the values from dynamic state commands rather than from pipeline state creation info.
struct VkPipelineDynamicStateCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineDynamicStateCreateFlags flags;
uint32_t dynamicStateCount;
VkDynamicState const * pDynamicStates;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineDynamicStateCreateInfo.Buffer
An array of
VkPipelineDynamicStateCreateInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DYNAMICSTATECOUNT
The struct member offsets.
|
static int |
FLAGS
The struct member offsets.
|
static int |
PDYNAMICSTATES
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 |
|---|
VkPipelineDynamicStateCreateInfo(java.nio.ByteBuffer container)
Creates a
VkPipelineDynamicStateCreateInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineDynamicStateCreateInfo |
calloc()
Returns a new
VkPipelineDynamicStateCreateInfo instance allocated with memCalloc. |
static VkPipelineDynamicStateCreateInfo.Buffer |
calloc(int capacity)
Returns a new
VkPipelineDynamicStateCreateInfo.Buffer instance allocated with memCalloc. |
static VkPipelineDynamicStateCreateInfo |
callocStack()
Returns a new
VkPipelineDynamicStateCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineDynamicStateCreateInfo.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineDynamicStateCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineDynamicStateCreateInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineDynamicStateCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineDynamicStateCreateInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineDynamicStateCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineDynamicStateCreateInfo |
create()
Returns a new
VkPipelineDynamicStateCreateInfo instance allocated with BufferUtils. |
static VkPipelineDynamicStateCreateInfo.Buffer |
create(int capacity)
Returns a new
VkPipelineDynamicStateCreateInfo.Buffer instance allocated with BufferUtils. |
static VkPipelineDynamicStateCreateInfo |
create(long address)
Returns a new
VkPipelineDynamicStateCreateInfo instance for the specified memory address. |
static VkPipelineDynamicStateCreateInfo.Buffer |
create(long address,
int capacity)
Create a
VkPipelineDynamicStateCreateInfo.Buffer instance at the specified memory. |
static VkPipelineDynamicStateCreateInfo |
createSafe(long address)
|
static VkPipelineDynamicStateCreateInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
dynamicStateCount()
Returns the value of the
dynamicStateCount field. |
int |
flags()
Returns the value of the
flags field. |
VkPipelineDynamicStateCreateInfo |
flags(int value)
Sets the specified value to the
flags field. |
static VkPipelineDynamicStateCreateInfo |
malloc()
Returns a new
VkPipelineDynamicStateCreateInfo instance allocated with memAlloc. |
static VkPipelineDynamicStateCreateInfo.Buffer |
malloc(int capacity)
Returns a new
VkPipelineDynamicStateCreateInfo.Buffer instance allocated with memAlloc. |
static VkPipelineDynamicStateCreateInfo |
mallocStack()
Returns a new
VkPipelineDynamicStateCreateInfo instance allocated on the thread-local MemoryStack. |
static VkPipelineDynamicStateCreateInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineDynamicStateCreateInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineDynamicStateCreateInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineDynamicStateCreateInfo.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineDynamicStateCreateInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineDynamicStateCreateInfo instance allocated on the specified MemoryStack. |
static int |
ndynamicStateCount(long struct)
Unsafe version of
dynamicStateCount(). |
static void |
ndynamicStateCount(long struct,
int value)
Sets the specified value to the
dynamicStateCount field of the specified struct. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static java.nio.IntBuffer |
npDynamicStates(long struct)
Unsafe version of
pDynamicStates. |
static void |
npDynamicStates(long struct,
java.nio.IntBuffer value)
Unsafe version of
pDynamicStates. |
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.IntBuffer |
pDynamicStates()
Returns a
IntBuffer view of the data pointed to by the pDynamicStates field. |
VkPipelineDynamicStateCreateInfo |
pDynamicStates(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pDynamicStates field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineDynamicStateCreateInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineDynamicStateCreateInfo |
set(int sType,
long pNext,
int flags,
java.nio.IntBuffer pDynamicStates)
Initializes this struct with the specified values.
|
VkPipelineDynamicStateCreateInfo |
set(VkPipelineDynamicStateCreateInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineDynamicStateCreateInfo |
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 FLAGS
public static final int DYNAMICSTATECOUNT
public static final int PDYNAMICSTATES
public VkPipelineDynamicStateCreateInfo(java.nio.ByteBuffer container)
VkPipelineDynamicStateCreateInfo 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 flags()
flags field.public int dynamicStateCount()
dynamicStateCount field.@Nullable public java.nio.IntBuffer pDynamicStates()
IntBuffer view of the data pointed to by the pDynamicStates field.public VkPipelineDynamicStateCreateInfo sType(int value)
sType field.public VkPipelineDynamicStateCreateInfo pNext(long value)
pNext field.public VkPipelineDynamicStateCreateInfo flags(int value)
flags field.public VkPipelineDynamicStateCreateInfo pDynamicStates(@Nullable java.nio.IntBuffer value)
IntBuffer to the pDynamicStates field.public VkPipelineDynamicStateCreateInfo set(int sType, long pNext, int flags, @Nullable java.nio.IntBuffer pDynamicStates)
public VkPipelineDynamicStateCreateInfo set(VkPipelineDynamicStateCreateInfo src)
src - the source structpublic static VkPipelineDynamicStateCreateInfo malloc()
VkPipelineDynamicStateCreateInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineDynamicStateCreateInfo calloc()
VkPipelineDynamicStateCreateInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineDynamicStateCreateInfo create()
VkPipelineDynamicStateCreateInfo instance allocated with BufferUtils.public static VkPipelineDynamicStateCreateInfo create(long address)
VkPipelineDynamicStateCreateInfo instance for the specified memory address.@Nullable public static VkPipelineDynamicStateCreateInfo createSafe(long address)
public static VkPipelineDynamicStateCreateInfo.Buffer malloc(int capacity)
VkPipelineDynamicStateCreateInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineDynamicStateCreateInfo.Buffer calloc(int capacity)
VkPipelineDynamicStateCreateInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineDynamicStateCreateInfo.Buffer create(int capacity)
VkPipelineDynamicStateCreateInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineDynamicStateCreateInfo.Buffer create(long address, int capacity)
VkPipelineDynamicStateCreateInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineDynamicStateCreateInfo.Buffer createSafe(long address, int capacity)
public static VkPipelineDynamicStateCreateInfo mallocStack()
VkPipelineDynamicStateCreateInfo instance allocated on the thread-local MemoryStack.public static VkPipelineDynamicStateCreateInfo callocStack()
VkPipelineDynamicStateCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineDynamicStateCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineDynamicStateCreateInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineDynamicStateCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineDynamicStateCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineDynamicStateCreateInfo.Buffer mallocStack(int capacity)
VkPipelineDynamicStateCreateInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineDynamicStateCreateInfo.Buffer callocStack(int capacity)
VkPipelineDynamicStateCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineDynamicStateCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineDynamicStateCreateInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineDynamicStateCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineDynamicStateCreateInfo.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 nflags(long struct)
flags().public static int ndynamicStateCount(long struct)
dynamicStateCount().@Nullable public static java.nio.IntBuffer npDynamicStates(long struct)
pDynamicStates.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nflags(long struct,
int value)
flags.public static void ndynamicStateCount(long struct,
int value)
dynamicStateCount field of the specified struct.public static void npDynamicStates(long struct,
@Nullable
java.nio.IntBuffer value)
pDynamicStates.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.