Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
RenderStep Class Referenceabstract

Base class for rendering steps in the pipeline. More...

#include <pipeline.h>

+ Inheritance diagram for RenderStep:
+ Collaboration diagram for RenderStep:

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)
 

Detailed Description

Base class for rendering steps in the pipeline.

Member Function Documentation

◆ run()

virtual void RenderStep::run ( PipelineContext & context)
pure virtual

◆ setRenderSource()

virtual void RenderStep::setRenderSource ( RenderSource * source)
pure virtual

Assigns render source to this step.

Parameters
sourcesource of rendering information

Implemented in Draw3D, DrawHUD, DrawImageStep, DrawWield, PostProcessingStep, RenderPipeline, TrivialRenderStep, and UpscaleStep.

Referenced by addPostProcessing(), and addUpscaling().

+ Here is the caller graph for this function:

◆ setRenderTarget()

virtual void RenderStep::setRenderTarget ( RenderTarget * target)
pure virtual

Assigned render target to this step.

Parameters
targetrender target to send output to.

Implemented in Draw3D, DrawHUD, DrawImageStep, DrawWield, MapPostFxStep, PostProcessingStep, RenderPipeline, TrivialRenderStep, and UpscaleStep.

Referenced by addPostProcessing(), addUpscaling(), and SetRenderTargetStep::run().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: