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

#include <ugdk/graphic/manager.h>

Classes

class  Shaders
 

Public Member Functions

 Manager ()
 
 ~Manager ()
 
bool Initialize (const std::weak_ptr< desktop::Window > &, const math::Vector2D &canvas_size)
 
void Release ()
 
void AttachTo (const std::shared_ptr< desktop::Window > &)
 
void ResizeScreen (const math::Vector2D &canvas_size)
 
TextureUnit ReserveTextureUnit (const graphic::GLTexture *texture=nullptr)
 
void DisableVertexType (VertexType)
 
unsigned int LocationForVertexType (VertexType)
 
RenderTargetscreen () const
 
RenderTexturelight_buffer () const
 
graphic::GLTexture * white_texture ()
 
Shadersshaders ()
 
const Shadersshaders () const
 
ShaderProgramlight_shader ()
 

Friends

class ::ugdk::graphic::TextureUnit
 

Constructor & Destructor Documentation

ugdk::graphic::Manager::Manager ( )
ugdk::graphic::Manager::~Manager ( )

Member Function Documentation

void ugdk::graphic::Manager::AttachTo ( const std::shared_ptr< desktop::Window > &  )
void ugdk::graphic::Manager::DisableVertexType ( VertexType  )
bool ugdk::graphic::Manager::Initialize ( const std::weak_ptr< desktop::Window > &  ,
const math::Vector2D canvas_size 
)
RenderTexture* ugdk::graphic::Manager::light_buffer ( ) const
inline
ShaderProgram* ugdk::graphic::Manager::light_shader ( )
inline
unsigned int ugdk::graphic::Manager::LocationForVertexType ( VertexType  )
void ugdk::graphic::Manager::Release ( )
TextureUnit ugdk::graphic::Manager::ReserveTextureUnit ( const graphic::GLTexture *  texture = nullptr)
void ugdk::graphic::Manager::ResizeScreen ( const math::Vector2D canvas_size)
RenderTarget* ugdk::graphic::Manager::screen ( ) const
Shaders& ugdk::graphic::Manager::shaders ( )
inline
const Shaders& ugdk::graphic::Manager::shaders ( ) const
inline
graphic::GLTexture* ugdk::graphic::Manager::white_texture ( )
inline

Friends And Related Function Documentation

friend class ::ugdk::graphic::TextureUnit
friend

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