Base class for user-defined render passes inserted at a RenderingPhase slot.
Derive from this class and override render() to inject arbitrary GPU work (graphics or compute) at a specific point in the frame graph. The pass is inserted after the built-in ShaderMaterialPass for the same phase.
|
| static void | destroyShaderModules () |
| |
| std::shared_ptr< vireo::ShaderModule > | loadShader (const std::string &shaderName) const |
| |
| void | init (vireo::GraphicPipelineConfiguration &pipelineConfig, vireo::RenderingConfiguration &renderingConfig, const std::shared_ptr< vireo::DescriptorLayout > &descriptorLayout, bool withStencil) |
| |
| void | init (vireo::GraphicPipelineConfiguration &pipelineConfig, vireo::RenderingConfiguration &renderingConfig, bool withStencil) const |
| |
| void | initForScene (vireo::GraphicPipelineConfiguration &pipelineConfig, vireo::RenderingConfiguration &renderingConfig, bool withStencil) const |
| |
| void | initRendering (const std::shared_ptr< vireo::CommandList > &commandList, const std::shared_ptr< vireo::GraphicPipeline > &pipeline, const std::shared_ptr< vireo::DescriptorSet > &sceneDescriptorSet, const std::shared_ptr< vireo::DescriptorSet > &descriptorSet) |
| |
| void | initCompute (const std::shared_ptr< vireo::CommandList > &commandList, const std::shared_ptr< vireo::ComputePipeline > &pipeline, const std::shared_ptr< vireo::DescriptorSet > &sceneDescriptorSet, const std::shared_ptr< vireo::DescriptorSet > &descriptorSet) |
| |
| const std::string | name |
| |
| const RendererConfiguration & | config |
| |
| static std::mutex | shaderModulesMutex |
| |
| static std::unordered_map< std::string, std::shared_ptr< vireo::ShaderModule > > | shaderModules |
| |