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

Namespaces

 PrimitiveSetup
 
 VertexDataManipulation
 

Classes

class  Canvas
 
class  DrawMode
 
class  Light
 
class  Manager
 
class  NotSupportedException
 
class  Primitive
 
class  PrimitiveController
 
class  PrimitiveControllerSprite
 
class  RenderTarget
 
class  RenderTexture
 
class  Shader
 
class  ShaderProgram
 
class  TextureAtlas
 
class  TextureUnit
 
class  VertexData
 
struct  VertexDataSpecification
 

Enumerations

enum  VertexType { VertexType::VERTEX, VertexType::TEXTURE, VertexType::COLOR, VertexType::CUSTOM1 }
 

Functions

ShaderProgramCreateShader (bool light_system, bool color_text_mode)
 
ShaderProgramInterfaceShader ()
 
ShaderProgramLightSystemShader ()
 
ShaderProgramInterfaceTextShader ()
 
ShaderProgramLightSystemTextShader ()
 
ShaderProgramLightShader ()
 
action::SceneCreateLightrenderingScene (std::function< void(Canvas &)> render_light_function)
 
bool Initialize (Manager *manager, const std::weak_ptr< desktop::Window > &, const math::Vector2D &canvas_size)
 Initializes the module with the given Manager. More...
 
void Release ()
 Releases the module, disabling it. More...
 
Managermanager ()
 Getter for the manager of the module. More...
 
std::shared_ptr< VertexDataCreateVertexDataWithSpecification (const VertexDataSpecification &)
 

Enumeration Type Documentation

Enumerator
VERTEX 
TEXTURE 
COLOR 
CUSTOM1 

Function Documentation

action::Scene* ugdk::graphic::CreateLightrenderingScene ( std::function< void(Canvas &)>  render_light_function)
ShaderProgram* ugdk::graphic::CreateShader ( bool  light_system,
bool  color_text_mode 
)
std::shared_ptr<VertexData> ugdk::graphic::CreateVertexDataWithSpecification ( const VertexDataSpecification &  )
bool ugdk::graphic::Initialize ( Manager *  manager,
const std::weak_ptr< desktop::Window > &  ,
const math::Vector2D &  canvas_size 
)

Initializes the module with the given Manager.

ShaderProgram* ugdk::graphic::InterfaceShader ( )
ShaderProgram* ugdk::graphic::InterfaceTextShader ( )
ShaderProgram* ugdk::graphic::LightShader ( )
ShaderProgram* ugdk::graphic::LightSystemShader ( )
ShaderProgram* ugdk::graphic::LightSystemTextShader ( )
Manager* ugdk::graphic::manager ( )

Getter for the manager of the module.

void ugdk::graphic::Release ( )

Releases the module, disabling it.