[−][src]Crate fae
Fae is a small 2D graphics rendering crate, with the main intended use-case being 2D games. Its main goals are simplicity, performance, and compatiblity.
Modules
errors | The errors that fae can return. |
gl | OpenGL functions and constants. |
profiler | Module for reading the profiling data that |
Structs
AlphaBlending | Describes how a spritesheet should be blended with the background. |
Context | The overarching state of the crate. Intended to live outside of the main game loop. |
Font | Holds a font for rendering. See also:
|
GraphicsContext | Draw stuff on the screen with this. |
Image | Contains the raw pixel color data of an image. |
Rect | Represents a rectangle. |
ShaderPair | Contains the code for a vertex shader and a fragment shader. |
Shaders | Contains the shader code for a spritesheet. |
Sprite | Sprite builder struct. Call
|
Spritesheet | Holds a texture for rendering. |
SpritesheetBuilder | A builder for |
Text | Text builder struct. Call
|
Enums
Alignment | Defines the alignment of text. |
Error | A generic error type that wraps fae's other error types in the
|
OpenGlApi | Represents the two different variants of OpenGL. |
OpenGlVersion | Represents the parsed version of the OpenGL version string. |
TextureWrapping | Describes how textures are wrapped. |