namespace Brutal.VulkanApi { /// /// VkComputePipelineCreateInfo - Structure specifying parameters of a newly created compute pipeline /// /// /// /// :refpage: VkComputePipelineCreateInfo /// /// /// The VkComputePipelineCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkComputePipelineCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkPipelineCreateFlags flags; /// VkPipelineShaderStageCreateInfo stage; /// VkPipelineLayout layout; /// VkPipeline basePipelineHandle; /// int32_t basePipelineIndex; /// } VkComputePipelineCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 96)] public unsafe partial struct VkComputePipelineCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ComputePipelineCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkPipelineCreateFlags specifying how the pipeline will be generated. /// [FieldOffset(16)] public VkPipelineCreateFlags Flags; /// /// Stage is a VkPipelineShaderStageCreateInfo structure describing the compute shader. /// [FieldOffset(24)] public VkPipelineShaderStageCreateInfo Stage; /// /// Layout is the description of binding locations used by both the pipeline and descriptor sets used with the pipeline. /// [FieldOffset(72)] public VkPipelineLayout Layout; /// /// BasePipelineHandle is a pipeline to derive from. /// [FieldOffset(80)] public VkPipeline BasePipelineHandle; /// /// BasePipelineIndex is an index into the pCreateInfos parameter to use as a pipeline to derive from. /// [FieldOffset(88)] public int BasePipelineIndex; } }