UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::graphic::RenderTarget Class Referenceabstract

#include <ugdk/graphic/rendertarget.h>

Inheritance diagram for ugdk::graphic::RenderTarget:
Collaboration diagram for ugdk::graphic::RenderTarget:

Public Member Functions

virtual ~RenderTarget ()
 
bool IsActive () const
 
const math::Geometryprojection_matrix () const
 
virtual math::Vector2D size () const =0
 
void Clear (structure::Color)
 

Protected Member Functions

 RenderTarget ()
 
virtual void Bind ()
 
virtual void Unbind ()
 

Protected Attributes

math::Geometry projection_matrix_
 

Friends

class ::ugdk::graphic::Canvas
 

Constructor & Destructor Documentation

virtual ugdk::graphic::RenderTarget::~RenderTarget ( )
virtual
ugdk::graphic::RenderTarget::RenderTarget ( )
protected

Member Function Documentation

virtual void ugdk::graphic::RenderTarget::Bind ( )
protectedvirtual

Reimplemented in ugdk::graphic::RenderTexture.

void ugdk::graphic::RenderTarget::Clear ( structure::Color  )

Pre-requisite: must be active.

bool ugdk::graphic::RenderTarget::IsActive ( ) const
const math::Geometry& ugdk::graphic::RenderTarget::projection_matrix ( ) const
virtual math::Vector2D ugdk::graphic::RenderTarget::size ( ) const
pure virtual
virtual void ugdk::graphic::RenderTarget::Unbind ( )
protectedvirtual

Reimplemented in ugdk::graphic::RenderTexture.

Friends And Related Function Documentation

friend class ::ugdk::graphic::Canvas
friend

Member Data Documentation

math::Geometry ugdk::graphic::RenderTarget::projection_matrix_
protected

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