Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
plain.h File Reference
#include "core.h"
#include "pipeline.h"
+ Include dependency graph for plain.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Draw3D
 Implements a pipeline step that renders the 3D scene. More...
 
class  DrawWield
 
class  DrawHUD
 Implements a pipeline step that renders the game HUD. More...
 
class  MapPostFxStep
 
class  RenderShadowMapStep
 
class  UpscaleStep
 UpscaleStep step performs rescaling of the image in the source texture 0 to the size of the target. More...
 

Functions

std::unique_ptr< RenderStepcreate3DStage (Client *client, v2f scale)
 
RenderStepaddUpscaling (RenderPipeline *pipeline, RenderStep *previousStep, v2f downscale_factor)
 
void populatePlainPipeline (RenderPipeline *pipeline, Client *client)
 

Function Documentation

◆ addUpscaling()

RenderStep * addUpscaling ( RenderPipeline * pipeline,
RenderStep * previousStep,
v2f downscale_factor )

References RenderPipeline::addStep(), RenderPipeline::createOwned(), g_settings, Settings::getBool(), RenderStep::setRenderSource(), RenderStep::setRenderTarget(), and TextureBuffer::setTexture().

Referenced by populatePlainPipeline().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ create3DStage()

std::unique_ptr< RenderStep > create3DStage ( Client * client,
v2f scale )

References addPostProcessing(), RenderPipeline::addStep(), g_settings, Settings::getBool(), RenderPipeline::getOutput(), and RenderPipeline::own().

Referenced by populateAnaglyphPipeline(), populateInterlacedPipeline(), populatePlainPipeline(), and populateSideBySidePipeline().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ populatePlainPipeline()

void populatePlainPipeline ( RenderPipeline * pipeline,
Client * client )

References RenderPipeline::addStep(), addUpscaling(), create3DStage(), RenderPipeline::createOwned(), getDownscaleFactor(), RenderPipeline::own(), and MapPostFxStep::setRenderTarget().

Referenced by createPipeline().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: