namespace Brutal.VulkanApi { /// /// VkDescriptorUpdateTemplateCreateInfo - Structure specifying parameters of a newly created descriptor update template /// /// /// /// The VkDescriptorUpdateTemplateCreateInfo structure is defined as: /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkDescriptorUpdateTemplateCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkDescriptorUpdateTemplateCreateFlags flags; /// uint32_t descriptorUpdateEntryCount; /// const VkDescriptorUpdateTemplateEntry* pDescriptorUpdateEntries; /// VkDescriptorUpdateTemplateType templateType; /// VkDescriptorSetLayout descriptorSetLayout; /// VkPipelineBindPoint pipelineBindPoint; /// VkPipelineLayout pipelineLayout; /// uint32_t set; /// } VkDescriptorUpdateTemplateCreateInfo; /// /// /// [StructLayout(LayoutKind.Explicit, Size = 72)] public unsafe partial struct VkDescriptorUpdateTemplateCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DescriptorUpdateTemplateCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use. /// [FieldOffset(16)] public VkDescriptorUpdateTemplateCreateFlags Flags; /// /// DescriptorUpdateEntryCount is the number of elements in the pDescriptorUpdateEntries array. /// [FieldOffset(20)] public int DescriptorUpdateEntryCount; /// /// DescriptorUpdateEntries is a pointer to an array of VkDescriptorUpdateTemplateEntry structures describing the descriptors to be updated by the descriptor update template. /// [FieldOffset(24)] public VkDescriptorUpdateTemplateEntry* DescriptorUpdateEntries; /// /// TemplateType Specifies the type of the descriptor update template. If set to VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET it can only be used to update descriptor sets with a fixed descriptorSetLayout. /// [FieldOffset(32)] public VkDescriptorUpdateTemplateType TemplateType; /// /// DescriptorSetLayout is the descriptor set layout used to build the descriptor update template. All descriptor sets which are going to be updated through the newly created descriptor update template must be created with a layout that matches (is the same as, or defined identically to) this layout. This parameter is ignored if templateType is not VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET. The implementation must not access this object outside of the duration of the command this structure is passed to. /// [FieldOffset(40)] public VkDescriptorSetLayout DescriptorSetLayout; /// /// PipelineBindPoint is reserved for future use and is ignored /// [FieldOffset(48)] public VkPipelineBindPoint PipelineBindPoint; /// /// PipelineLayout is reserved for future use and is ignored /// [FieldOffset(56)] public VkPipelineLayout PipelineLayout; /// /// Set is reserved for future use and is ignored /// [FieldOffset(64)] public int Set; } }