Crate graphics_buffer

source ·
Expand description

This library provides a buffer which can be used as a render target for Piston’s graphics library. This buffer can be loaded from and/or saved to a file on disk. This allows for things like screenshots in games.

Structs

A character cache for drawing text to a RenderBuffer.
A buffer that can be rendered to with Piston’s graphics library.

Enums

An Error type for RenderBuffer.

Functions

Returns the identity matrix: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]].