SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FixedPipelineRenderer Class Reference
Inheritance diagram for FixedPipelineRenderer:
Inheritance graph
[legend]

Public Member Functions

void onLoadWorld () OVERRIDE
 
void onUnloadWorld () OVERRIDE
 
void render (float dt, bool is_loading) OVERRIDE
 
std::unique_ptr< RenderTargetcreateRenderTarget (const irr::core::dimension2du &dimension, const std::string &name) OVERRIDE
 Create a RenderTarget (for rendering to a texture)
 
- Public Member Functions inherited from AbstractRenderer
virtual void onLoadWorld ()=0
 
virtual void onUnloadWorld ()=0
 
virtual void resetPostProcessing ()
 
virtual void giveBoost (unsigned int cam_index)
 
virtual void removeSkyBox ()
 
virtual const SHCoefficientsgetSHCoefficients () const
 
virtual GLuint getRenderTargetTexture (TypeRTT which) const
 
virtual GLuint getDepthStencilTexture () const
 
virtual void setAmbientLight (const irr::video::SColorf &light, bool force_SH_computation=true)
 
virtual void addSunLight (const irr::core::vector3df &pos)
 
virtual void addGlowingNode (irr::scene::ISceneNode *n, float r=1.0f, float g=1.0f, float b=1.0f)
 
virtual void clearGlowingNodes ()
 
virtual void render (float dt, bool is_loading=false)=0
 
const irr::core::vector2df & getCurrentScreenSize () const
 
virtual std::unique_ptr< RenderTargetcreateRenderTarget (const irr::core::dimension2du &dimension, const std::string &name)=0
 Create a RenderTarget (for rendering to a texture)
 
virtual void createPostProcessing ()
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractRenderer
void renderSkybox (const irr::scene::ICameraSceneNode *camera) const
 
- Protected Attributes inherited from AbstractRenderer
irr::core::vector2df m_current_screen_size
 

Member Function Documentation

◆ createRenderTarget()

std::unique_ptr< RenderTarget > FixedPipelineRenderer::createRenderTarget ( const irr::core::dimension2du &  dimension,
const std::string &  name 
)
virtual

Create a RenderTarget (for rendering to a texture)

Parameters
dimensionThe dimension of the texture
nameA unique name for the render target

Implements AbstractRenderer.

◆ onLoadWorld()

void FixedPipelineRenderer::onLoadWorld ( )
virtual

Implements AbstractRenderer.

◆ onUnloadWorld()

void FixedPipelineRenderer::onUnloadWorld ( )
virtual

Implements AbstractRenderer.

◆ render()

void FixedPipelineRenderer::render ( float  dt,
bool  is_loading 
)
virtual

Implements AbstractRenderer.


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