Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
MapPostFxStep Class Reference

#include <plain.h>

+ Inheritance diagram for MapPostFxStep:
+ Collaboration diagram for MapPostFxStep:

Public Member Functions

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

Private Attributes

RenderTargettarget
 

Member Function Documentation

◆ run()

void MapPostFxStep::run ( PipelineContext & context)
overridevirtual

Runs the step.

This method is invoked by the pipeline.

Implements RenderStep.

References RenderTarget::activate(), PipelineContext::client, Client::getCamera(), Camera::getCameraMode(), ClientEnvironment::getClientMap(), Client::getEnv(), ClientMap::renderPostFx(), and target.

+ Here is the call graph for this function:

◆ setRenderTarget()

void MapPostFxStep::setRenderTarget ( RenderTarget * target)
overridevirtual

Assigned render target to this step.

Parameters
targetrender target to send output to.

Reimplemented from TrivialRenderStep.

References target.

Referenced by populatePlainPipeline().

+ Here is the caller graph for this function:

Member Data Documentation

◆ target

RenderTarget* MapPostFxStep::target
private

Referenced by run(), and setRenderTarget().


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