Deferred rendering path.
Renders geometry into a G-Buffer (position, normal, albedo, emissive), then performs lighting as a full-screen pass, followed by transparency and optional SSAO and bloom post-processing.
|
| | DeferredRenderer (const RenderingConfiguration &config, const std::string &name) |
| |
| void | update (uint32 frameIndex) override |
| |
| void | updatePipelines (const std::unordered_map< pipeline_id, std::vector< std::shared_ptr< Material >>> &pipelineIds) override |
| |
| void | resize (const vireo::Extent &extent, const std::shared_ptr< vireo::CommandList > &commandList) override |
| |
| std::shared_ptr< vireo::RenderTarget > | getBloomColorAttachment (const uint32 frameIndex) const override |
| |
| | Renderer (const RenderingConfiguration &config, bool withStencil, const std::string &name) |
| |
| std::shared_ptr< vireo::RenderTarget > | getColorAttachment (uint32 frameIndex) const |
| |
| auto | getColorRenderTarget (const uint32 frameIndex) const |
| |
| auto | getDepthRenderTarget (const uint32 frameIndex) const |
| |
| void | updatePipelines (const Scene &scene) |
| |
| void | compute (vireo::CommandList &commandList, Scene &scene, uint32 frameIndex) const |
| |
| void | preRender (vireo::CommandList &commandList, const Scene &scene, uint32 frameIndex) |
| |
| void | render (vireo::CommandList &commandList, const Scene &scene, bool clearAttachment, uint32 frameIndex) |
| |
| void | postprocess (vireo::CommandList &commandList, const vireo::Viewport &viewport, const vireo::Rect &scissor, uint32 frameIndex) |
| |
| void | addPostprocessing (const std::string &fragShaderName, vireo::ImageFormat outputFormat, void *data=nullptr, uint32 dataSize=0) |
| |
| void | removePostprocessing (const std::string &fragShaderName) |
| |
| virtual | ~Renderer () = default |
| |
| | Renderer (Renderer &) = delete |
| |
| Renderer & | operator= (Renderer &) = delete |
| |