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.
There is also an optional feature for
RenderBuffer that allows it to be
converted into a
G2dTexture so that it can be rendered with
enable this, add
features = ["piston_window_texture"] to the
dependency in your
cargo.toml. More about this feature can be found in
A buffer that can be rendered to with Piston's graphics library.
An Error type for
The identity matrix:
A character cache for drawing text to a