Base class for rendering steps in the pipeline. More...
#include <pipeline.h>
Public Member Functions | |
virtual void | setRenderSource (RenderSource *source)=0 |
Assigns render source to this step. | |
virtual void | setRenderTarget (RenderTarget *target)=0 |
Assigned render target to this step. | |
virtual void | run (PipelineContext &context)=0 |
Runs the step. | |
Public Member Functions inherited from RenderPipelineObject | |
virtual | ~RenderPipelineObject ()=default |
virtual void | reset (PipelineContext &context) |
Base class for rendering steps in the pipeline.
|
pure virtual |
Runs the step.
This method is invoked by the pipeline.
Implemented in Draw3D, DrawHUD, DrawImageStep, DrawWield, InitInterlacedMaskStep, MapPostFxStep, OffsetCameraStep, PostProcessingStep, RenderPipeline, RenderShadowMapStep, SetColorMaskStep, SetRenderTargetStep, SwapTexturesStep, and UpscaleStep.
|
pure virtual |
Assigns render source to this step.
source | source of rendering information |
Implemented in Draw3D, DrawHUD, DrawImageStep, DrawWield, PostProcessingStep, RenderPipeline, TrivialRenderStep, and UpscaleStep.
Referenced by addPostProcessing(), and addUpscaling().
|
pure virtual |
Assigned render target to this step.
target | render target to send output to. |
Implemented in Draw3D, DrawHUD, DrawImageStep, DrawWield, MapPostFxStep, PostProcessingStep, RenderPipeline, TrivialRenderStep, and UpscaleStep.
Referenced by addPostProcessing(), addUpscaling(), and SetRenderTargetStep::run().