Implements a pipeline step that renders the 3D scene.
Definition plain.h:14
virtual void run(PipelineContext &context) override
Draw3D pipeline step.
Definition plain.cpp:16
virtual void setRenderSource(RenderSource *) override
Assigns render source to this step.
Definition plain.h:16
virtual void reset(PipelineContext &context) override
Definition plain.h:19
RenderTarget * m_target
Definition plain.h:23
virtual void setRenderTarget(RenderTarget *target) override
Assigned render target to this step.
Definition plain.h:17
Implements a pipeline step that renders the game HUD.
Definition plain.h:43
virtual void setRenderTarget(RenderTarget *) override
Assigned render target to this step.
Definition plain.h:46
virtual void run(PipelineContext &context) override
Runs the step.
Definition plain.cpp:38
virtual void reset(PipelineContext &context) override
Definition plain.h:48
virtual void setRenderSource(RenderSource *) override
Assigns render source to this step.
Definition plain.h:45
RenderTarget * m_target
Definition plain.h:36
virtual void reset(PipelineContext &context) override
Definition plain.h:32
virtual void setRenderTarget(RenderTarget *target) override
Assigned render target to this step.
Definition plain.h:30
virtual void run(PipelineContext &context) override
Runs the step.
Definition plain.cpp:29
virtual void setRenderSource(RenderSource *) override
Assigns render source to this step.
Definition plain.h:29
RenderTarget * target
Definition plain.h:58
virtual void run(PipelineContext &context) override
Runs the step.
Definition plain.cpp:61
virtual void setRenderTarget(RenderTarget *) override
Assigned render target to this step.
Definition plain.cpp:56
Render Pipeline provides a flexible way to execute rendering steps in the engine.
Definition pipeline.h:353
virtual void run(PipelineContext &context) override
Runs the step.
Definition plain.cpp:69
Represents a source of rendering information such as textures.
Definition pipeline.h:60
Base class for rendering steps in the pipeline.
Definition pipeline.h:284
Represents a render target (screen or framebuffer)
Definition pipeline.h:78
Provides default empty implementation of supporting methods in a rendering step.
Definition pipeline.h:310
UpscaleStep step performs rescaling of the image in the source texture 0 to the size of the target.
Definition plain.h:72
virtual void reset(PipelineContext &context) override
Definition plain.h:77
virtual void setRenderSource(RenderSource *source) override
Assigns render source to this step.
Definition plain.h:75
virtual void setRenderTarget(RenderTarget *target) override
Assigned render target to this step.
Definition plain.h:76
RenderTarget * m_target
Definition plain.h:81
virtual void run(PipelineContext &context) override
Runs the step.
Definition plain.cpp:78
RenderSource * m_source
Definition plain.h:80
core::vector2d< f32 > v2f
Definition irr_v2d.h:11
Definition activeobjectmgr.cpp:11
std::unique_ptr< RenderStep > create3DStage(Client *client, v2f scale)
Definition plain.cpp:87
video::ECOLOR_FORMAT selectDepthFormat(video::IVideoDriver *driver)
Definition plain.cpp:163
video::ECOLOR_FORMAT selectColorFormat(video::IVideoDriver *driver)
Definition plain.cpp:156
void populatePlainPipeline(RenderPipeline *pipeline, Client *client)
Definition plain.cpp:141
RenderStep * addUpscaling(RenderPipeline *pipeline, RenderStep *previousStep, v2f downscale_factor, Client *client)
Definition plain.cpp:107