namespace Brutal.VulkanApi { /// /// VkGraphicsShaderGroupCreateInfoNV - Structure specifying override parameters for each shader group /// /// /// /// The VkGraphicsShaderGroupCreateInfoNV structure provides the state /// overrides for each shader group. /// Each shader group behaves like a pipeline that was created from its state as /// well as the remaining parent's state. /// It is defined as: /// /// /// // Provided by VK_NV_device_generated_commands /// typedef struct VkGraphicsShaderGroupCreateInfoNV { /// VkStructureType sType; /// const void* pNext; /// uint32_t stageCount; /// const VkPipelineShaderStageCreateInfo* pStages; /// const VkPipelineVertexInputStateCreateInfo* pVertexInputState; /// const VkPipelineTessellationStateCreateInfo* pTessellationState; /// } VkGraphicsShaderGroupCreateInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkGraphicsShaderGroupCreateInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.GraphicsShaderGroupCreateInfoNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// StageCount is the number of entries in the pStages array. /// [FieldOffset(16)] public int StageCount; /// /// Stages is a pointer to an array VkPipelineShaderStageCreateInfo structures specifying the set of the shader stages to be included in this shader group. /// [FieldOffset(24)] public VkPipelineShaderStageCreateInfo* Stages; /// /// VertexInputState is a pointer to a VkPipelineVertexInputStateCreateInfo structure. /// [FieldOffset(32)] public VkPipelineVertexInputStateCreateInfo* VertexInputState; /// /// TessellationState is a pointer to a VkPipelineTessellationStateCreateInfo structure, and is ignored if the shader group does not include a tessellation control shader stage and tessellation evaluation shader stage. /// [FieldOffset(40)] public VkPipelineTessellationStateCreateInfo* TessellationState; } }