[][src]Crate rusty_gfx

The OpenGL window is (-1.0, -1.0) in the bottom left to (1.0, 1.0) in the top right.

Modules

color
event
prelude
util

Structs

Img

An image that can be drawn using the Window.draw() method. Currently only PNG format is supported.

ImgVertex
ShaderShape
ShaderShapeVertex
Shape

A Shape can be drawn to a Window using its draw_shape() method. Use the provided new_* methods to make a Shape.

ShapeVertex
Sprite
Window

An OpenGL window for displaying graphics. Also the object through which you'll receive input events (mouse, keyboard, etc.)

Enums

ShapeStyle
ThingToDraw

Traits

Drawable