namespace Brutal.VulkanApi { /// /// VkRayTracingPipelineCreateInfoKHR - Structure specifying parameters of a newly created ray tracing pipeline /// /// /// /// :refpage: VkRayTracingPipelineCreateInfoKHR /// /// /// The VkRayTracingPipelineCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_ray_tracing_pipeline /// typedef struct VkRayTracingPipelineCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkPipelineCreateFlags flags; /// uint32_t stageCount; /// const VkPipelineShaderStageCreateInfo* pStages; /// uint32_t groupCount; /// const VkRayTracingShaderGroupCreateInfoKHR* pGroups; /// uint32_t maxPipelineRayRecursionDepth; /// const VkPipelineLibraryCreateInfoKHR* pLibraryInfo; /// const VkRayTracingPipelineInterfaceCreateInfoKHR* pLibraryInterface; /// const VkPipelineDynamicStateCreateInfo* pDynamicState; /// VkPipelineLayout layout; /// VkPipeline basePipelineHandle; /// int32_t basePipelineIndex; /// } VkRayTracingPipelineCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 104)] public unsafe partial struct VkRayTracingPipelineCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RayTracingPipelineCreateInfoKHR; /// /// 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; /// /// StageCount is the number of entries in the pStages array. /// [FieldOffset(20)] public int StageCount; /// /// Stages is a pointer to an array of stageCount VkPipelineShaderStageCreateInfo structures describing the set of the shader stages to be included in the ray tracing pipeline. /// [FieldOffset(24)] public VkPipelineShaderStageCreateInfo* Stages; /// /// GroupCount is the number of entries in the pGroups array. /// [FieldOffset(32)] public int GroupCount; /// /// Groups is a pointer to an array of groupCount VkRayTracingShaderGroupCreateInfoKHR structures describing the set of the shader stages to be included in each shader group in the ray tracing pipeline. /// [FieldOffset(40)] public VkRayTracingShaderGroupCreateInfoKHR* Groups; /// /// MaxPipelineRayRecursionDepth is the maximum recursion depth^ of shaders executed by this pipeline. /// [FieldOffset(48)] public int MaxPipelineRayRecursionDepth; /// /// LibraryInfo is a pointer to a VkPipelineLibraryCreateInfoKHR structure defining pipeline libraries to include. /// [FieldOffset(56)] public VkPipelineLibraryCreateInfoKHR* LibraryInfo; /// /// LibraryInterface is a pointer to a VkRayTracingPipelineInterfaceCreateInfoKHR structure defining additional information when using pipeline libraries. /// [FieldOffset(64)] public VkRayTracingPipelineInterfaceCreateInfoKHR* LibraryInterface; /// /// DynamicState is a pointer to a VkPipelineDynamicStateCreateInfo structure, and is used to indicate which properties of the pipeline state object are dynamic and can be changed independently of the pipeline state. This can be `NULL`, which means no state in the pipeline is considered dynamic. /// [FieldOffset(72)] public VkPipelineDynamicStateCreateInfo* DynamicState; /// /// Layout is the description of binding locations used by both the pipeline and descriptor sets used with the pipeline. /// [FieldOffset(80)] public VkPipelineLayout Layout; /// /// BasePipelineHandle is a pipeline to derive from. /// [FieldOffset(88)] public VkPipeline BasePipelineHandle; /// /// BasePipelineIndex is an index into the pCreateInfos parameter to use as a pipeline to derive from. /// [FieldOffset(96)] public int BasePipelineIndex; } }