namespace Brutal.VulkanApi { /// /// VkRayTracingPipelineCreateInfoNV - Structure specifying parameters of a newly created ray tracing pipeline /// /// /// /// :refpage: VkRayTracingPipelineCreateInfoNV /// /// /// The VkRayTracingPipelineCreateInfoNV structure is defined as: /// /// /// // Provided by VK_NV_ray_tracing /// typedef struct VkRayTracingPipelineCreateInfoNV { /// VkStructureType sType; /// const void* pNext; /// VkPipelineCreateFlags flags; /// uint32_t stageCount; /// const VkPipelineShaderStageCreateInfo* pStages; /// uint32_t groupCount; /// const VkRayTracingShaderGroupCreateInfoNV* pGroups; /// uint32_t maxRecursionDepth; /// VkPipelineLayout layout; /// VkPipeline basePipelineHandle; /// int32_t basePipelineIndex; /// } VkRayTracingPipelineCreateInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 80)] public unsafe partial struct VkRayTracingPipelineCreateInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.RayTracingPipelineCreateInfoNV; /// /// 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 VkPipelineShaderStageCreateInfo structures specifying 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 VkRayTracingShaderGroupCreateInfoNV structures describing the set of the shader stages to be included in each shader group in the ray tracing pipeline. /// [FieldOffset(40)] public VkRayTracingShaderGroupCreateInfoNV* Groups; /// /// MaxRecursionDepth is the maximum recursion depth^ of shaders executed by this pipeline. /// [FieldOffset(48)] public int MaxRecursionDepth; /// /// Layout is the description of binding locations used by both the pipeline and descriptor sets used with the pipeline. /// [FieldOffset(56)] public VkPipelineLayout Layout; /// /// BasePipelineHandle is a pipeline to derive from. /// [FieldOffset(64)] public VkPipeline BasePipelineHandle; /// /// BasePipelineIndex is an index into the pCreateInfos parameter to use as a pipeline to derive from. /// [FieldOffset(72)] public int BasePipelineIndex; } }