18#ifndef HEADER_RENDER_TARGET_HPP
19#define HEADER_RENDER_TARGET_HPP
21#include <dimension2d.h>
33 class ICameraSceneNode;
class ISceneNode;
37 class ITexture;
class SColor;
46 virtual irr::core::dimension2du getTextureSize()
const = 0;
48 virtual void renderToTexture(irr::scene::ICameraSceneNode* camera,
float dt) = 0;
49 virtual void draw2DImage(
const irr::core::rect<irr::s32>& dest_rect,
50 const irr::core::rect<irr::s32>* clip_rect,
51 const irr::video::SColor &colors,
52 bool use_alpha_channel_of_texture)
const = 0;
67 const std::string &name);
70 irr::core::dimension2du getTextureSize()
const;
72 void renderToTexture(irr::scene::ICameraSceneNode* camera,
float dt);
73 void draw2DImage(
const irr::core::rect<irr::s32>& dest_rect,
74 const irr::core::rect<irr::s32>* clip_rect,
75 const irr::video::SColor &colors,
76 bool use_alpha_channel_of_texture)
const;
90 const std::string &name,
93 void draw2DImage(
const irr::core::rect<irr::s32>& dest_rect,
94 const irr::core::rect<irr::s32>* clip_rect,
95 const irr::video::SColor &colors,
96 bool use_alpha_channel_of_texture)
const;
97 irr::core::dimension2du getTextureSize()
const;
98 void renderToTexture(irr::scene::ICameraSceneNode* camera,
float dt);
99 void setFrameBuffer(
FrameBuffer* fb) { m_frame_buffer = fb; }
Definition: frame_buffer.hpp:33
Definition: render_target.hpp:56
irr::video::ITexture * m_render_target_texture
A pointer to texture on which a scene is rendered.
Definition: render_target.hpp:60
irr::scene::ISceneNode * m_rtt_main_node
Main node of the RTT scene.
Definition: render_target.hpp:63
Definition: render_target.hpp:81
Definition: render_target.hpp:42
Definition: shader_based_renderer.hpp:49