pub struct GraphicsTree { /* private fields */ }
Expand description

A graphics backend that stores and optimizes commands

Implementations

Creates a new graphics tree.

Returns true if graphics tree is empty.

Clears all graphics.

Draws graphics to backend.

Trait Implementations

The texture type associated with the back-end. Read more
Clears background with a color. Read more
Clears stencil buffer with a value, usually 0. Read more
Renders list of 2d triangles using a solid color. Read more
Same as tri_list, but with individual vertex colors. Read more
Renders list of 2d triangles using a color and a texture. Read more
Same as tri_list_uv, but with individual vertex colors. Read more
Draws a rectangle. Read more
Draws a polygon. Read more
Draws a tweened polygon using linear interpolation. Read more
Draws image. Read more
Draws ellipse. Read more
Draws line. Read more
Draws circle arc. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.