No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AbstractRenderer Class Referenceabstract

Virtual base class for the renderer. More...

#include <abstract_renderer.hpp>

Inheritance diagram for AbstractRenderer:
Inheritance graph

Public Member Functions

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 ()

Protected Member Functions

void renderSkybox (const irr::scene::ICameraSceneNode *camera) const

Protected Attributes

irr::core::vector2df m_current_screen_size

Detailed Description

Virtual base class for the renderer.

Member Function Documentation

◆ createRenderTarget()

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

Create a RenderTarget (for rendering to a texture)

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

Implemented in FixedPipelineRenderer, and ShaderBasedRenderer.

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