Class VkVertexInputBindingDivisorDescriptionEXT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkVertexInputBindingDivisorDescriptionEXT
    extends Struct
    implements NativeResource
    Structure specifying a divisor used in instanced rendering.

    If this structure is not used to define a divisor value for an attribute then the divisor has a logical default value of 1.

    Valid Usage
    See Also


    Member documentation

    • binding – the binding number for which the divisor is specified.
    • 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 applied to N successive instances before moving on to the next vertex attribute. The maximum value of divisor is implementation dependent and can be queried using VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::maxVertexAttribDivisor. A value of 0 can be used for the divisor if the vertexAttributeInstanceRateZeroDivisor feature is enabled. In this case, the same vertex attribute will be applied to all instances.


     struct VkVertexInputBindingDivisorDescriptionEXT {
         uint32_t binding;
         uint32_t divisor;