SuperTuxKart
Public Member Functions | Private Attributes | List of all members
GL1RenderTarget Class Reference
Inheritance diagram for GL1RenderTarget:
Inheritance graph
[legend]

Public Member Functions

 GL1RenderTarget (const irr::core::dimension2du &dimension, const std::string &name)
 
irr::core::dimension2du getTextureSize () const
 
void renderToTexture (irr::scene::ICameraSceneNode *camera, float dt)
 
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
 

Private Attributes

irr::video::ITexture * m_render_target_texture
 A pointer to texture on which a scene is rendered. More...
 
irr::scene::ISceneNode * m_rtt_main_node
 Main node of the RTT scene.
 

Member Data Documentation

◆ m_render_target_texture

irr::video::ITexture* GL1RenderTarget::m_render_target_texture
private

A pointer to texture on which a scene is rendered.

Only used in between beginRenderToTexture() and endRenderToTexture calls.


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