UGDK
0.5.0
|
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 | |
ShaderProgram * | CreateShader (bool light_system, bool color_text_mode) |
ShaderProgram * | InterfaceShader () |
ShaderProgram * | LightSystemShader () |
ShaderProgram * | InterfaceTextShader () |
ShaderProgram * | LightSystemTextShader () |
ShaderProgram * | LightShader () |
action::Scene * | CreateLightrenderingScene (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... | |
Manager * | manager () |
Getter for the manager of the module. More... | |
std::shared_ptr< VertexData > | CreateVertexDataWithSpecification (const VertexDataSpecification &) |
|
strong |
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.