namespace Brutal.VulkanApi { /// /// VkPushDescriptorSetInfo - Structure specifying a descriptor set push operation /// /// /// /// :refpage: VkPushDescriptorSetInfo /// /// /// The VkPushDescriptorSetInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_4 /// typedef struct VkPushDescriptorSetInfo { /// VkStructureType sType; /// const void* pNext; /// VkShaderStageFlags stageFlags; /// VkPipelineLayout layout; /// uint32_t set; /// uint32_t descriptorWriteCount; /// const VkWriteDescriptorSet* pDescriptorWrites; /// } VkPushDescriptorSetInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkPushDescriptorSetInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PushDescriptorSetInfo; /// /// 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 that will use the descriptors. /// [FieldOffset(16)] public VkShaderStageFlags StageFlags; /// /// Layout is a VkPipelineLayout object used to program the bindings. /// [FieldOffset(24)] public VkPipelineLayout Layout; /// /// Set is the set number of the descriptor set in the pipeline layout that will be updated. /// [FieldOffset(32)] public int Set; /// /// DescriptorWriteCount is the number of elements in the pDescriptorWrites array. /// [FieldOffset(36)] public int DescriptorWriteCount; /// /// DescriptorWrites is a pointer to an array of VkWriteDescriptorSet structures describing the descriptors to be updated. /// [FieldOffset(40)] public VkWriteDescriptorSet* DescriptorWrites; } }