Class VkVertexInputBindingDescription

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


    public class VkVertexInputBindingDescription
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Describes a vertex input binding.

    Valid Usage

    Member documentation

    • binding – the binding number that this structure describes
    • stride – the distance in bytes between two consecutive elements within the buffer
    • inputRate – a VkVertexInputRate value that specifies whether vertex attribute addressing is a function of the vertex index or of the instance index. One of:
      VERTEX_INPUT_RATE_INSTANCEVERTEX_INPUT_RATE_VERTEX

    Layout

    struct VkVertexInputBindingDescription {
        uint32_t binding;
        uint32_t stride;
        VkVertexInputRate inputRate;
    }