SpiecsEngine
 
Loading...
Searching...
No Matches

◆ CreatePipeline()

void Spices::RayTracingRenderer::CreatePipeline ( std::shared_ptr< Material > material,
VkPipelineLayout & layout,
std::shared_ptr< RendererSubPass > subPass )
overrideprivatevirtual

The interface is inherited from Renderer. Create Material Specific Pipeline.

Parameters
[in]materialRegistry material.
[in]layoutVkPipelineLayout.
[in]subPassHandled subPass.

Implements Spices::Renderer.

Definition at line 100 of file RayTracingRenderer.cpp.

105 {
107
108 PipelineBuilder{ subPass, material, this }
109 .SetDefault()
110 .NullBindingDescriptions()
111 .NullAttributeDescriptions()
112 .SetPipelineLayout(layout)
113 .BuildRayTracing(*GetHitGroupsCache());
114 }
#define SPICES_PROFILE_ZONE
std::shared_ptr< std::unordered_map< std::string, uint32_t > > GetHitGroupsCache()
Get HitGroupsCache.