namespace Brutal.VulkanApi { /// /// VkSetDescriptorBufferOffsetsInfoEXT - Structure specifying descriptor buffer offsets to set in a command buffer /// /// /// /// :refpage: VkSetDescriptorBufferOffsetsInfoEXT /// /// /// The VkSetDescriptorBufferOffsetsInfoEXT structure is defined as: /// /// /// // Provided by VK_KHR_maintenance6 with VK_EXT_descriptor_buffer /// typedef struct VkSetDescriptorBufferOffsetsInfoEXT { /// VkStructureType sType; /// const void* pNext; /// VkShaderStageFlags stageFlags; /// VkPipelineLayout layout; /// uint32_t firstSet; /// uint32_t setCount; /// const uint32_t* pBufferIndices; /// const VkDeviceSize* pOffsets; /// } VkSetDescriptorBufferOffsetsInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkSetDescriptorBufferOffsetsInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.SetDescriptorBufferOffsetsInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// StageFlags is a bitmask of VkShaderStageFlags specifying the shader stages the descriptor sets will be bound to /// [FieldOffset(16)] public VkShaderStageFlags StageFlags; /// /// Layout is a VkPipelineLayout object used to program the bindings. /// [FieldOffset(24)] public VkPipelineLayout Layout; /// /// FirstSet is the number of the first set to be bound. /// [FieldOffset(32)] public int FirstSet; /// /// SetCount is the number of elements in the pBufferIndices and pOffsets arrays. /// [FieldOffset(36)] public int SetCount; /// /// BufferIndices is a pointer to an array of indices into the descriptor buffer binding points set by vkCmdBindDescriptorBuffersEXT. /// [FieldOffset(40)] public int* BufferIndices; /// /// Offsets is a pointer to an array of basetype:VkDeviceSize offsets to apply to the bound descriptor buffers. /// [FieldOffset(48)] public ByteSize64* Offsets; } }