namespace Brutal.VulkanApi { /// /// VkVertexInputAttributeDescription - Structure specifying vertex input attribute description /// /// /// /// Each vertex input attribute is specified by the /// VkVertexInputAttributeDescription structure, defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkVertexInputAttributeDescription { /// uint32_t location; /// uint32_t binding; /// VkFormat format; /// uint32_t offset; /// } VkVertexInputAttributeDescription; /// /// [StructLayout(LayoutKind.Explicit, Size = 16)] public partial struct VkVertexInputAttributeDescription() { /// /// Location is the shader input location number for this attribute. /// [FieldOffset(0)] public int Location; /// /// Binding is the binding number which this attribute takes its data from. /// [FieldOffset(4)] public int Binding; /// /// Format is the size and type of the vertex attribute data. /// [FieldOffset(8)] public VkFormat Format; /// /// Offset is a byte offset of this attribute relative to the start of an element in the vertex input binding. /// [FieldOffset(12)] public ByteSize32 Offset; } }