Class VkVertexInputAttributeDescription

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

    public class VkVertexInputAttributeDescription
    extends Struct
    implements NativeResource
    Structure specifying vertex input attribute description.
    Valid Usage
    Valid Usage (Implicit)
    • format must be a valid VkFormat value
    See Also


    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.


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