#include <pipeline.h>
|
| pipeline ()=default |
|
virtual | ~pipeline ()=default |
|
virtual auto | init (rtti::context &ctx) -> bool |
|
virtual auto | gather_visible_models (scene &scn, const math::frustum *frustum, visibility_flags query, const layer_mask &render_mask) -> visibility_set_models_t |
| Gathers visible models from the scene based on the given query.
|
|
virtual auto | run_pipeline (scene &scn, const camera &camera, gfx::render_view &rview, delta_t dt, const run_params ¶ms, layer_mask render_mask=layer_mask{layer_reserved::everything_layer}) -> gfx::frame_buffer::ptr=0 |
| Renders the entire scene from the camera's perspective.
|
|
virtual void | run_pipeline (const gfx::frame_buffer::ptr &output, scene &scn, const camera &camera, gfx::render_view &rview, delta_t dt, const run_params ¶ms, layer_mask render_mask=layer_mask{layer_reserved::everything_layer})=0 |
| Renders the entire scene from the camera's perspective to the specified output.
|
|
virtual void | set_debug_pass (int pass)=0 |
|
virtual void | ui_pass (scene &scn, const camera &camera, gfx::render_view &rview, const gfx::frame_buffer::ptr &output) |
|
virtual auto | create_run_params (entt::handle camera_ent) const -> rendering::pipeline::run_params |
|
Definition at line 59 of file pipeline.h.
◆ sptr
◆ uptr
◆ visibility_flags
Type alias for visibility flags.
Definition at line 79 of file pipeline.h.
◆ wptr
◆ visibility_query
Flags for visibility queries.
Enumerator |
---|
not_specified | No specific visibility query.
|
is_dirty | Query for dirty entities.
|
is_static | Query for static entities.
|
is_shadow_caster | Query for shadow casting entities.
|
is_reflection_caster | Query for reflection casting entities.
|
Definition at line 70 of file pipeline.h.
◆ pipeline()
unravel::rendering::pipeline::pipeline |
( |
| ) |
|
|
default |
◆ ~pipeline()
virtual unravel::rendering::pipeline::~pipeline |
( |
| ) |
|
|
virtualdefault |
◆ create_run_params()
◆ gather_visible_models()
Gathers visible models from the scene based on the given query.
- Parameters
-
scn | The scene to gather models from. |
frustum | The frustum used for visibility determination. |
query | The visibility query flags. |
render_mask | Render mask to filter entities by layers. |
- Returns
- A vector of handles to the visible models.
Definition at line 48 of file pipeline.cpp.
◆ init()
auto unravel::rendering::pipeline::init |
( |
rtti::context & | ctx | ) |
-> bool |
|
virtual |
◆ run_pipeline() [1/2]
Renders the entire scene from the camera's perspective to the specified output.
- Parameters
-
output | The output frame buffer. |
scn | The scene to render. |
camera | The camera to render from. |
storage | The camera storage. |
render_view | The render view. |
dt | The delta time. |
query | The visibility query flags. |
Implemented in unravel::rendering::deferred.
◆ run_pipeline() [2/2]
Renders the entire scene from the camera's perspective.
- Parameters
-
scn | The scene to render. |
camera | The camera to render from. |
storage | The camera storage. |
render_view | The render view. |
dt | The delta time. |
query | The visibility query flags. |
- Returns
- A shared pointer to the frame buffer containing the rendered scene.
Implemented in unravel::rendering::deferred.
◆ set_debug_pass()
virtual void unravel::rendering::pipeline::set_debug_pass |
( |
int | pass | ) |
|
|
pure virtual |
◆ ui_pass()
◆ assao_pass_
assao_pass unravel::rendering::pipeline::assao_pass_ {} |
|
protected |
◆ atmospheric_pass_
◆ atmospheric_pass_perez_
◆ atmospheric_pass_skybox_
◆ blit_pass_
blit_pass unravel::rendering::pipeline::blit_pass_ {} |
|
protected |
◆ fxaa_pass_
fxaa_pass unravel::rendering::pipeline::fxaa_pass_ {} |
|
protected |
◆ hiz_pass_
hiz_pass unravel::rendering::pipeline::hiz_pass_ {} |
|
protected |
Hi-Z buffer generation pass.
Definition at line 160 of file pipeline.h.
◆ prefilter_pass_
◆ ssr_pass_
ssr_pass unravel::rendering::pipeline::ssr_pass_ {} |
|
protected |
◆ tonemapping_pass_
The documentation for this class was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/pipeline/pipeline.h
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/pipeline/pipeline.cpp