Functions and types relating to rendering.
This module implements a (hopefully!) efficent quad renderer, which will queue up drawing operations until it is absolutely necessary to send them to the graphics hardware. This allows us to minimize the number of draw calls made, speeding up rendering.
Functions and types relating to animations.
Functions and types relating to user interfaces.
A 2D texture that can be used for off-screen rendering.
Represents an RGBA color.
Struct representing the parameters that can be used when drawing.
A font that can be used to render text. TrueType fonts (.ttf) and a subset of OpenType fonts (.otf) are supported.
A rectangle of
A shader program, consisting of a vertex shader and a fragment shader.
A piece of text that can be rendered.
A 2D texture, held in GPU memory.
Represents the different filtering algorithms that can be used when scaling an image.
Defines the different ways that a game's screen can be scaled.
The default fragment shader.
The default vertex shader.
Represents a type that can be drawn.
Represents a type that can be passed as a uniform value to a shader.
Clears the screen (or a canvas, if one is enabled) to the specified color.
Draws an object to the screen (or to a canvas, if one is enabled).
Sends queued data to the graphics hardware.
Returns the filter mode that will be used by newly created textures and canvases.
Gets the internal height of the screen.
Gets the internal size of the screen.
Gets the internal width of the screen.
Gets the current scaling mode.
Presents the result of drawing commands to the screen, scaling/letterboxing if necessary.
Sets the renderer back to drawing to the screen directly.
Sets the renderer back to using the default shader.
Sets the renderer to redirect all drawing commands to the specified canvas.
Sets the filter mode that will be used by newly created textures and canvases.
Sets the internal height of the screen.
Sets the internal size of the screen.
Sets the internal width of the screen.
Sets the color of the letterbox bars that are displayed when scaling the screen.
Sets the current scaling mode.
Sets the shader that is currently being used for rendering.
Sets the texture that is currently being used for rendering.
A 2D vector with