public class VkPipelineVertexInputDivisorStateCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXTpVertexBindingDivisors must be a valid pointer to an array of vertexBindingDivisorCount VkVertexInputBindingDivisorDescriptionEXT structuresvertexBindingDivisorCount must be greater than 0VkVertexInputBindingDivisorDescriptionEXT
sType – the type of this structurepNext – NULL or a pointer to an extension-specific structurevertexBindingDivisorCount – the number of elements in the pVertexBindingDivisors array.pVertexBindingDivisors – a pointer to an array of VkVertexInputBindingDivisorDescriptionEXT structures, which specifies the divisor value for each binding.
struct VkPipelineVertexInputDivisorStateCreateInfoEXT {
VkStructureType sType;
void const * pNext;
uint32_t vertexBindingDivisorCount;
VkVertexInputBindingDivisorDescriptionEXT const * pVertexBindingDivisors;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer
An array of
VkPipelineVertexInputDivisorStateCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PVERTEXBINDINGDIVISORS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
VERTEXBINDINGDIVISORCOUNT
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineVertexInputDivisorStateCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkPipelineVertexInputDivisorStateCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
calloc()
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated with memCalloc. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
callocStack()
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
create()
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated with BufferUtils. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
create(long address)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT instance for the specified memory address. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance at the specified memory. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
createSafe(long address)
|
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
malloc()
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated with memAlloc. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
mallocStack()
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineVertexInputDivisorStateCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineVertexInputDivisorStateCreateInfoEXT 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 VkVertexInputBindingDivisorDescriptionEXT.Buffer |
npVertexBindingDivisors(long struct)
Unsafe version of
pVertexBindingDivisors(). |
static void |
npVertexBindingDivisors(long struct,
VkVertexInputBindingDivisorDescriptionEXT.Buffer value)
Unsafe version of
pVertexBindingDivisors. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nvertexBindingDivisorCount(long struct)
Unsafe version of
vertexBindingDivisorCount(). |
static void |
nvertexBindingDivisorCount(long struct,
int value)
Sets the specified value to the
vertexBindingDivisorCount field of the specified struct. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineVertexInputDivisorStateCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkVertexInputBindingDivisorDescriptionEXT.Buffer |
pVertexBindingDivisors()
Returns a
VkVertexInputBindingDivisorDescriptionEXT.Buffer view of the struct array pointed to by the pVertexBindingDivisors field. |
VkPipelineVertexInputDivisorStateCreateInfoEXT |
pVertexBindingDivisors(VkVertexInputBindingDivisorDescriptionEXT.Buffer value)
Sets the address of the specified
VkVertexInputBindingDivisorDescriptionEXT.Buffer to the pVertexBindingDivisors field. |
VkPipelineVertexInputDivisorStateCreateInfoEXT |
set(int sType,
long pNext,
VkVertexInputBindingDivisorDescriptionEXT.Buffer pVertexBindingDivisors)
Initializes this struct with the specified values.
|
VkPipelineVertexInputDivisorStateCreateInfoEXT |
set(VkPipelineVertexInputDivisorStateCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineVertexInputDivisorStateCreateInfoEXT |
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. |
int |
vertexBindingDivisorCount()
Returns the value of the
vertexBindingDivisorCount 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 VERTEXBINDINGDIVISORCOUNT
public static final int PVERTEXBINDINGDIVISORS
public VkPipelineVertexInputDivisorStateCreateInfoEXT(java.nio.ByteBuffer container)
VkPipelineVertexInputDivisorStateCreateInfoEXT 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 vertexBindingDivisorCount()
vertexBindingDivisorCount field.public VkVertexInputBindingDivisorDescriptionEXT.Buffer pVertexBindingDivisors()
VkVertexInputBindingDivisorDescriptionEXT.Buffer view of the struct array pointed to by the pVertexBindingDivisors field.public VkPipelineVertexInputDivisorStateCreateInfoEXT sType(int value)
sType field.public VkPipelineVertexInputDivisorStateCreateInfoEXT pNext(long value)
pNext field.public VkPipelineVertexInputDivisorStateCreateInfoEXT pVertexBindingDivisors(VkVertexInputBindingDivisorDescriptionEXT.Buffer value)
VkVertexInputBindingDivisorDescriptionEXT.Buffer to the pVertexBindingDivisors field.public VkPipelineVertexInputDivisorStateCreateInfoEXT set(int sType, long pNext, VkVertexInputBindingDivisorDescriptionEXT.Buffer pVertexBindingDivisors)
public VkPipelineVertexInputDivisorStateCreateInfoEXT set(VkPipelineVertexInputDivisorStateCreateInfoEXT src)
src - the source structpublic static VkPipelineVertexInputDivisorStateCreateInfoEXT malloc()
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineVertexInputDivisorStateCreateInfoEXT calloc()
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineVertexInputDivisorStateCreateInfoEXT create()
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated with BufferUtils.public static VkPipelineVertexInputDivisorStateCreateInfoEXT create(long address)
VkPipelineVertexInputDivisorStateCreateInfoEXT instance for the specified memory address.@Nullable public static VkPipelineVertexInputDivisorStateCreateInfoEXT createSafe(long address)
public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer malloc(int capacity)
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer calloc(int capacity)
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer create(int capacity)
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer create(long address, int capacity)
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkPipelineVertexInputDivisorStateCreateInfoEXT mallocStack()
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkPipelineVertexInputDivisorStateCreateInfoEXT callocStack()
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineVertexInputDivisorStateCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineVertexInputDivisorStateCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineVertexInputDivisorStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer mallocStack(int capacity)
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer callocStack(int capacity)
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineVertexInputDivisorStateCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineVertexInputDivisorStateCreateInfoEXT.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 nvertexBindingDivisorCount(long struct)
vertexBindingDivisorCount().public static VkVertexInputBindingDivisorDescriptionEXT.Buffer npVertexBindingDivisors(long struct)
pVertexBindingDivisors().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nvertexBindingDivisorCount(long struct,
int value)
vertexBindingDivisorCount field of the specified struct.public static void npVertexBindingDivisors(long struct,
VkVertexInputBindingDivisorDescriptionEXT.Buffer value)
pVertexBindingDivisors.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.