|
|
using | RequestType |
|
using | ResponseType |
|
using | PipeHandler |
|
void | _rebuildPipeOrder () |
|
std::vector< std::unique_ptr< PipeHandler > > | _pipes |
|
PipelineOutput | _default_response |
|
std::map< std::string, PipeHandler * > | _pipes_by_name |
|
std::optional< int32_t > | _last_step_pipe |
◆ Pipeline()
| oe::render::Pipeline::Pipeline |
( |
const PbrOptions & | options | ) |
|
|
inline |
◆ configureForPbrRendering()
| void oe::render::Pipeline::configureForPbrRendering |
( |
const PbrOptions & | options | ) |
|
Initialize the pipeline to act as a complete render pipeline ready for PBR rendering.
The following passes are added (in order):
- geometry (pipeline::GeometryPass) Fill Geometry Buffer from deferred geometry (= solid and alpha-clip geometry)
- ssao (pipeline::SsaoPass) Compute SSAO (Screen Space Ambient Occlusion) from deferred geometry
- reflections (pipeline::ReflectionsPass) Compute deferred geometry reflections using SSR (Screen Space Reflections) and cubemaps
- lighting (pipeline::LightingPass) Compute surface lighting response for deferred geometry + apply reflections and SSAO
- refractions (pipeline::RefractionsPass) Generate different levels of blur from the lighting pass to be used as source in forward pass to render refractive transparent objects
- forward (pipeline::ForwardPass) Render forward rendering geometry (glass, effects, etc...)
- debug (pipeline::DebugPass) Render debug objects filled with oe::render::Debug (only added if options.add_debug_render is enabled)
- final (pipeline::FinalPass) Apply final effects to the image (Bloom + Tonemap + Anti-aliasing) and blit it into the target framebuffer
- Note
- You can freely change each passes settings after by fetching the pass by name
- Parameters
-
| options | Options to customise pipeline settings |
◆ generateFramebuffer() [1/2]
Generate a framebuffer for postprocessing effects.
- Note
- uses the main framebuffer size
◆ generateFramebuffer() [2/2]
Generate a framebuffer for postprocessing effects.
- Parameters
-
◆ setResultFramebuffer()
Set the final framebuffer which be written by the pipeline.
- Parameters
-
The documentation for this class was generated from the following file: