UGDK
0.5.0
|
#include <ugdk/graphic/rendertexture.h>
Public Member Functions | |
RenderTexture (std::unique_ptr< graphic::GLTexture > &&texture) | |
RenderTexture (const math::Integer2D &size) | |
~RenderTexture () | |
virtual math::Vector2D | size () const override |
graphic::GLTexture * | texture () const |
void | set_projection_matrix (const math::Geometry &) |
Public Member Functions inherited from ugdk::graphic::RenderTarget | |
virtual | ~RenderTarget () |
bool | IsActive () const |
const math::Geometry & | projection_matrix () const |
void | Clear (structure::Color) |
Protected Member Functions | |
virtual void | Bind () override |
virtual void | Unbind () override |
Protected Member Functions inherited from ugdk::graphic::RenderTarget | |
RenderTarget () | |
Additional Inherited Members | |
Protected Attributes inherited from ugdk::graphic::RenderTarget | |
math::Geometry | projection_matrix_ |
ugdk::graphic::RenderTexture::RenderTexture | ( | std::unique_ptr< graphic::GLTexture > && | texture | ) |
ugdk::graphic::RenderTexture::RenderTexture | ( | const math::Integer2D & | size | ) |
ugdk::graphic::RenderTexture::~RenderTexture | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from ugdk::graphic::RenderTarget.
void ugdk::graphic::RenderTexture::set_projection_matrix | ( | const math::Geometry & | ) |
|
overridevirtual |
Implements ugdk::graphic::RenderTarget.
|
inline |
|
overrideprotectedvirtual |
Reimplemented from ugdk::graphic::RenderTarget.