namespace Brutal.VulkanApi { /// /// VkPipelineLayoutCreateInfo - Structure specifying the parameters of a newly created pipeline layout object /// /// /// /// The VkPipelineLayoutCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPipelineLayoutCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkPipelineLayoutCreateFlags flags; /// uint32_t setLayoutCount; /// const VkDescriptorSetLayout* pSetLayouts; /// uint32_t pushConstantRangeCount; /// const VkPushConstantRange* pPushConstantRanges; /// } VkPipelineLayoutCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkPipelineLayoutCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PipelineLayoutCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkPipelineLayoutCreateFlags specifying options for pipeline layout creation. /// [FieldOffset(16)] public VkPipelineLayoutCreateFlags Flags; /// /// SetLayoutCount is the number of descriptor sets included in the pipeline layout. /// [FieldOffset(20)] public int SetLayoutCount; /// /// SetLayouts is a pointer to an array of VkDescriptorSetLayout objects. The implementation must not access these objects outside of the duration of the command this structure is passed to. /// [FieldOffset(24)] public VkDescriptorSetLayout* SetLayouts; /// /// PushConstantRangeCount is the number of push constant ranges included in the pipeline layout. /// [FieldOffset(32)] public int PushConstantRangeCount; /// /// PushConstantRanges is a pointer to an array of VkPushConstantRange structures defining a set of push constant ranges for use in a single pipeline layout. In addition to descriptor set layouts, a pipeline layout also describes how many push constants can be accessed by each stage of the pipeline. + [NOTE] /// [FieldOffset(40)] public VkPushConstantRange* PushConstantRanges; } }