If this structure is not used to define a divisor value for an attribute, then the divisor has a logical default value of 1.
binding must be less than VkPhysicalDeviceLimits::maxVertexInputBindingsvertexAttributeInstanceRateZeroDivisor 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, inclusiveVkVertexInputBindingDescription::inputRate must be of type VERTEX_INPUT_RATE_INSTANCE for this bindingVkPipelineVertexInputDivisorStateCreateInfoEXT
struct VkVertexInputBindingDivisorDescriptionEXT {
uint32_t binding;
uint32_t divisor;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| 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 | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVertexInputBindingDivisorDescriptionEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT. | |
| public static VkVertexInputBindingDivisorDescriptionEXT. | |
| protected VkVertexInputBindingDivisorDescriptionEXT | 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 VkVertexInputBindingDivisorDescriptionEXT | create()
Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT | create(long address)
Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT. | |
| public int | divisor()
the number of successive instances that will use the same value of the vertex attribute when instanced rendering is enabled. |
| public VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT | |
| public static VkVertexInputBindingDivisorDescriptionEXT. | |
| public static VkVertexInputBindingDivisorDescriptionEXT. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public VkVertexInputBindingDivisorDescriptionEXT | |
| public VkVertexInputBindingDivisorDescriptionEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| 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. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkVertexInputBindingDivisorDescriptionEXT | back to summary |
|---|---|
| protected VkVertexInputBindingDivisorDescriptionEXT(long address, ByteBuffer container) | |
| VkVertexInputBindingDivisorDescriptionEXT | back to summary |
|---|---|
| public VkVertexInputBindingDivisorDescriptionEXT(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 for which the divisor is specified.
| |
| binding | back to summary |
|---|---|
| public VkVertexInputBindingDivisorDescriptionEXT binding(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkVertexInputBindingDivisorDescriptionEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. 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. For example, if the divisor is N, the same vertex attribute will be applied to N successive instances before moving on to the next vertex attribute. The maximum value of
| |
| divisor | back to summary |
|---|---|
| public VkVertexInputBindingDivisorDescriptionEXT divisor(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkVertexInputBindingDivisorDescriptionEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| 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 | |
| set | back to summary |
|---|---|
| public VkVertexInputBindingDivisorDescriptionEXT set(int binding, int divisor) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkVertexInputBindingDivisorDescriptionEXT set(VkVertexInputBindingDivisorDescriptionEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkVertexInputBindingDivisorDescriptionEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkVertexInputBindingDivisorDescriptionEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkVertexInputBindingDivisorDescriptionEXT. | binding(int value)
Sets the specified value to the |
| public int | |
| public VkVertexInputBindingDivisorDescriptionEXT. | divisor(int value)
Sets the specified value to the |
| protected VkVertexInputBindingDivisorDescriptionEXT | |
| protected VkVertexInputBindingDivisorDescriptionEXT. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkVertexInputBindingDivisorDescriptionEXT 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 VkVertexInputBindingDivisorDescriptionEXT. Sets the specified value to the | |
| divisor | back to summary |
|---|---|
public int divisor()
| |
| divisor | back to summary |
|---|---|
| public VkVertexInputBindingDivisorDescriptionEXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkVertexInputBindingDivisorDescriptionEXT getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected VkVertexInputBindingDivisorDescriptionEXT. Implements abstract org.
| |