Crate graphics_buffer[][src]

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

BufferGlyphs

A character cache for drawing text to a RenderBuffer.

RenderBuffer

A buffer that can be rendered to with Piston's graphics library.

Enums

Error

An Error type for RenderBuffer.

Functions

identity

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