binding must be less than VkPhysicalDeviceLimits::maxVertexInputBindingsstride must be less than or equal to VkPhysicalDeviceLimits::maxVertexInputBindingStridevertexAttributeInstanceRateZeroDivisor feature is not enabled, divisor must not be 0vertexAttributeInstanceRateDivisor feature is not enabled, divisor must be 1divisor must be a value between 0 and VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::maxVertexAttribDivisor, inclusivedivisor is not 1 then inputRate must be of type VERTEX_INPUT_RATE_INSTANCEsType must be STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXTinputRate must be a valid VkVertexInputRate value
struct VkVertexInputBindingDescription2EXT {
VkStructureType sType;
void * pNext;
uint32_t binding;
uint32_t stride;
VkVertexInputRate inputRate;
uint32_t divisor;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkVertexInputBindingDescription2EXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BINDING
The struct member offsets. |
| public static final int | DIVISOR
The struct member offsets. |
| public static final int | INPUTRATE
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STRIDE
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVertexInputBindingDescription2EXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkVertexInputBindingDescription2EXT | |
| public static VkVertexInputBindingDescription2EXT | |
| public static VkVertexInputBindingDescription2EXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDescription2EXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDescription2EXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkVertexInputBindingDescription2EXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkVertexInputBindingDescription2EXT | |
| public static VkVertexInputBindingDescription2EXT | create(long address)
Returns a new |
| public static VkVertexInputBindingDescription2EXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDescription2EXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVertexInputBindingDescription2EXT | |
| public static VkVertexInputBindingDescription2EXT. | |
| public int | divisor()
the number of successive instances that will use the same value of the vertex attribute when instanced rendering is enabled. |
| public VkVertexInputBindingDescription2EXT | |
| public int | inputRate()
a |
| public VkVertexInputBindingDescription2EXT | |
| public static VkVertexInputBindingDescription2EXT | |
| public static VkVertexInputBindingDescription2EXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDescription2EXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDescription2EXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkVertexInputBindingDescription2EXT | |
| public VkVertexInputBindingDescription2EXT | set(int sType, long pNext, int binding, int stride, int inputRate, int divisor)
Initializes this struct with the specified values. |
| public VkVertexInputBindingDescription2EXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkVertexInputBindingDescription2EXT | |
| public int | |
| public VkVertexInputBindingDescription2EXT | |
| public VkVertexInputBindingDescription2EXT | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BINDING | back to summary |
|---|---|
| public static final int BINDING The struct member offsets. | |
| DIVISOR | back to summary |
|---|---|
| public static final int DIVISOR The struct member offsets. | |
| INPUTRATE | back to summary |
|---|---|
| public static final int INPUTRATE The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STRIDE | back to summary |
|---|---|
| public static final int STRIDE The struct member offsets. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkVertexInputBindingDescription2EXT | back to summary |
|---|---|
| protected VkVertexInputBindingDescription2EXT(long address, ByteBuffer container) | |
| VkVertexInputBindingDescription2EXT | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| binding | back to summary |
|---|---|
| public int binding() the binding number that this structure describes.
| |
| binding | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT binding(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkVertexInputBindingDescription2EXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT. Like
| |
| divisor | back to summary |
|---|---|
| public int divisor() the number of successive instances that will use the same value of the vertex attribute when instanced rendering is enabled. This member can be set to a value other than 1 if the
| |
| divisor | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT divisor(int value) Sets the specified value to the | |
| inputRate | back to summary |
|---|---|
| public int inputRate() a
| |
| inputRate | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT inputRate(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDescription2EXT. Returns a new
| |
| nbinding | back to summary |
|---|---|
| public static int nbinding(long struct) Unsafe version of | |
| nbinding | back to summary |
|---|---|
| public static void nbinding(long struct, int value) Unsafe version of | |
| ndivisor | back to summary |
|---|---|
| public static int ndivisor(long struct) Unsafe version of | |
| ndivisor | back to summary |
|---|---|
| public static void ndivisor(long struct, int value) Unsafe version of | |
| ninputRate | back to summary |
|---|---|
| public static int ninputRate(long struct) Unsafe version of | |
| ninputRate | back to summary |
|---|---|
| public static void ninputRate(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static int nstride(long struct) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static void nstride(long struct, int value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT set(int sType, long pNext, int binding, int stride, int inputRate, int divisor) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT set(VkVertexInputBindingDescription2EXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stride | back to summary |
|---|---|
| public int stride() the byte stride between consecutive elements within the buffer.
| |
| stride | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT stride(int value) Sets the specified value to the | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT sType$Default() Sets the | |
VkVertexInputBindingDescription2EXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkVertexInputBindingDescription2EXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkVertexInputBindingDescription2EXT. | binding(int value)
Sets the specified value to the |
| public int | |
| public VkVertexInputBindingDescription2EXT. | divisor(int value)
Sets the specified value to the |
| protected VkVertexInputBindingDescription2EXT | |
| public int | |
| public VkVertexInputBindingDescription2EXT. | inputRate(int value)
Sets the specified value to the |
| public long | |
| public VkVertexInputBindingDescription2EXT. | |
| protected VkVertexInputBindingDescription2EXT. | |
| public int | |
| public VkVertexInputBindingDescription2EXT. | |
| public int | |
| public VkVertexInputBindingDescription2EXT. | |
| public VkVertexInputBindingDescription2EXT. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkVertexInputBindingDescription2EXT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| binding | back to summary |
|---|---|
public int binding()
| |
| binding | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT. Sets the specified value to the | |
| divisor | back to summary |
|---|---|
public int divisor()
| |
| divisor | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkVertexInputBindingDescription2EXT getElementFactory() Implements abstract org.
| |
| inputRate | back to summary |
|---|---|
public int inputRate()
| |
| inputRate | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkVertexInputBindingDescription2EXT. Implements abstract org.
| |
| stride | back to summary |
|---|---|
public int stride()
| |
| stride | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVertexInputBindingDescription2EXT. Sets the | |