Class VkVertexInputAttributeDescription

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


    public class VkVertexInputAttributeDescription
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Describes a vertex input attribute.

    Valid Usage

    Member documentation

    • location – the shader binding location number for this attribute
    • binding – the binding number which this attribute takes its data from
    • format – the size and type of the vertex attribute data
    • offset – a byte offset of this attribute relative to the start of an element in the vertex input binding

    Layout

    struct VkVertexInputAttributeDescription {
        uint32_t location;
        uint32_t binding;
        VkFormat format;
        uint32_t offset;
    }