Cerberus X Documentation

Module mojo2.graphics

Declarations

Imports
mojo2.renderer
Imported By
mojo2 , mojo2.renderer
Please note that only documented modules are listed here, there might be undocumented modules that import this one.
Classes
Canvas Canvas objects are used to perform rendering to either the app window or an 'off screen' image.
DrawList A drawlist contains drawing state and a sequence of 2d drawing operations.
Font The mojo2 Font class provides support for bitmap fonts.
Image An image is a rectangular area of pixels within a material, that can be drawn using one of the DrawList.DrawImage methods.
Material Materials contain shader parameters that map to shader uniforms variables when rendering.
Shader Mojo2 provides support for simple shaders that fetch texture/color data and produce values for use by the lighting equations.
ShadowCaster The mojo2 ShadowCaster class provides support for simple 2d shadow rendering.
Texture Textures contains image data for use by shaders when rendering.