namespace Brutal.VulkanApi { /// /// VkVertexInputAttributeDescription2EXT - Structure specifying the extended vertex input attribute description /// /// /// /// The VkVertexInputAttributeDescription2EXT structure is defined as: /// /// /// // Provided by VK_EXT_shader_object, VK_EXT_vertex_input_dynamic_state /// typedef struct VkVertexInputAttributeDescription2EXT { /// VkStructureType sType; /// void* pNext; /// uint32_t location; /// uint32_t binding; /// VkFormat format; /// uint32_t offset; /// } VkVertexInputAttributeDescription2EXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkVertexInputAttributeDescription2EXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VertexInputAttributeDescription2EXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Location is the shader input location number for this attribute. /// [FieldOffset(16)] public int Location; /// /// Binding is the binding number which this attribute takes its data from. /// [FieldOffset(20)] public int Binding; /// /// Format is the size and type of the vertex attribute data. /// [FieldOffset(24)] public VkFormat Format; /// /// Offset is a byte offset of this attribute relative to the start of an element in the vertex input binding. /// [FieldOffset(28)] public int Offset; } }