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

Public Member Functions

 GL3RenderTarget (const irr::core::dimension2du &dimension, const std::string &name, ShaderBasedRenderer *renderer)
 
void draw2DImage (const irr::core::rect< irr::s32 > &dest_rect, const irr::core::rect< irr::s32 > *clip_rect, const irr::video::SColor &colors, bool use_alpha_channel_of_texture) const
 
irr::core::dimension2du getTextureSize () const
 
void renderToTexture (irr::scene::ICameraSceneNode *camera, float dt)
 
void setFrameBuffer (FrameBuffer *fb)
 
virtual irr::core::dimension2du getTextureSize () const =0
 
virtual void renderToTexture (irr::scene::ICameraSceneNode *camera, float dt)=0
 
virtual void draw2DImage (const irr::core::rect< irr::s32 > &dest_rect, const irr::core::rect< irr::s32 > *clip_rect, const irr::video::SColor &colors, bool use_alpha_channel_of_texture) const =0
 

Private Attributes

ShaderBasedRendererm_renderer
 
std::string m_name
 
RTTm_rtts
 
FrameBufferm_frame_buffer
 

Member Function Documentation

◆ draw2DImage()

void GL3RenderTarget::draw2DImage ( const irr::core::rect< irr::s32 > &  dest_rect,
const irr::core::rect< irr::s32 > *  clip_rect,
const irr::video::SColor &  colors,
bool  use_alpha_channel_of_texture 
) const
virtual

Implements RenderTarget.

◆ getTextureSize()

irr::core::dimension2du GL3RenderTarget::getTextureSize ( ) const
virtual

Implements RenderTarget.

◆ renderToTexture()

void GL3RenderTarget::renderToTexture ( irr::scene::ICameraSceneNode *  camera,
float  dt 
)
virtual

Implements RenderTarget.


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