Module suzy::platform::opengl[][src]

This module provides Suzy’s default, built-in render platform, based on OpenGL ES 2.0.

In this module are a number of important Graphics implementations for the platform.

Structs

BaseEffect
DrawParams
DualVertexBuffer
DualVertexBufferIndexed
FontFamilyDynamic

A font family which has been loaded.

FontFamilySourceDynamic

A source for a font family.

Masker

A Masker takes a graphic and uses it as a transparency mask, applied to the subsequent graphics of the children of the widget with the Masker.

Mat4

A 4x4 matrix used for vertex transformations.

OpenGlContext
OpenGlRenderPlatform

The OpenGL render platform is the default “built-in” render platform included with Suzy.

PopulateTextureUtil

This type provides some helper functions for common texture populator needs.

SelectableSlicedImage

A version of SliceImage which assumes multiple images are layed out in the same texture corosponding to different “selection states”.

SingleVertexBuffer
SlicedImage

A common graphic used for user interfaces, a sliced image is defined by fixed-sized corners and an inner area which stretches to fill the graphic area.

Text

Default Graphic for displaying Text.

TextLayoutSettings

A type which contains settings which effect the vertex generation of a text object.

Texture

A Texture provides a reference to image data on the GPU.

TextureCacheKey

A key indicating the source of a texture, used to lookup duplicate textures in the texture cache.

TextureSize

A type indicating the size of a texture.

Tint
Window

opengl::Window provides a subset of the methods to implement the Window trait. It can be embedded in another window implementation which provides an opengl context.

Enums

FontStyle

A font style for a block of rich text.

TextAlignment

An enum describing horizontal text alignment settings.

Traits

Effect
PopulateTexture

A trait which describes how to populate a texture.

PopulateTextureDynClone

A trait which allows cloning a PopulateTexture trait object.

Type Definitions

FontFamily

A font family which has been loaded.

FontFamilySource

A source for a font family.

OpenGlBindings