Minetest 5.10.0-dev
 
Loading...
Searching...
No Matches
TrivialRenderStep Class Reference

Provides default empty implementation of supporting methods in a rendering step. More...

#include <pipeline.h>

+ Inheritance diagram for TrivialRenderStep:
+ Collaboration diagram for TrivialRenderStep:

Public Member Functions

virtual void setRenderSource (RenderSource *source) override
 Assigns render source to this step.
 
virtual void setRenderTarget (RenderTarget *target) override
 Assigned render target to this step.
 
virtual void reset (PipelineContext &) override
 
- Public Member Functions inherited from RenderStep
virtual void run (PipelineContext &context)=0
 Runs the step.
 
- Public Member Functions inherited from RenderPipelineObject
virtual ~RenderPipelineObject ()=default
 

Detailed Description

Provides default empty implementation of supporting methods in a rendering step.

Member Function Documentation

◆ reset()

virtual void TrivialRenderStep::reset ( PipelineContext & )
inlineoverridevirtual

Reimplemented from RenderPipelineObject.

Reimplemented in OffsetCameraStep.

◆ setRenderSource()

virtual void TrivialRenderStep::setRenderSource ( RenderSource * source)
inlineoverridevirtual

Assigns render source to this step.

Parameters
sourcesource of rendering information

Implements RenderStep.

◆ setRenderTarget()

virtual void TrivialRenderStep::setRenderTarget ( RenderTarget * target)
inlineoverridevirtual

Assigned render target to this step.

Parameters
targetrender target to send output to.

Implements RenderStep.

Reimplemented in MapPostFxStep.


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