namespace Brutal.VulkanApi { /// /// VkBindDescriptorSetsInfo - Structure specifying a descriptor set binding operation /// /// /// /// :refpage: VkBindDescriptorSetsInfo /// /// /// The VkBindDescriptorSetsInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_4 /// typedef struct VkBindDescriptorSetsInfo { /// VkStructureType sType; /// const void* pNext; /// VkShaderStageFlags stageFlags; /// VkPipelineLayout layout; /// uint32_t firstSet; /// uint32_t descriptorSetCount; /// const VkDescriptorSet* pDescriptorSets; /// uint32_t dynamicOffsetCount; /// const uint32_t* pDynamicOffsets; /// } VkBindDescriptorSetsInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkBindDescriptorSetsInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.BindDescriptorSetsInfo; /// /// 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 set number of the first descriptor set to be bound. /// [FieldOffset(32)] public int FirstSet; /// /// DescriptorSetCount is the number of elements in the pDescriptorSets array. /// [FieldOffset(36)] public int DescriptorSetCount; /// /// DescriptorSets is a pointer to an array of handles to VkDescriptorSet objects describing the descriptor sets to bind to. /// [FieldOffset(40)] public VkDescriptorSet* DescriptorSets; /// /// DynamicOffsetCount is the number of dynamic offsets in the pDynamicOffsets array. /// [FieldOffset(48)] public int DynamicOffsetCount; /// /// DynamicOffsets is a pointer to an array of uint32_t values specifying dynamic offsets. /// [FieldOffset(56)] public int* DynamicOffsets; } }