[][src]Module nannou::draw

A simple API for drawing 2D and 3D graphics.

See the Draw type for more details.

Re-exports

pub use self::background::Background;
pub use self::mesh::Mesh;
pub use self::renderer::Builder as RendererBuilder;
pub use self::renderer::Renderer;
pub use self::theme::Theme;

Modules

background
mesh

Items related to the custom mesh type used by the Draw API.

primitive
properties

Parameters which a Drawing instance may use to describe certain properties of a drawing.

renderer
theme

Structs

Context

The current Transform, alpha BlendDescriptor and Scissor of a Draw instance.

Draw

A simple API for drawing 2D and 3D graphics.

Drawing

A Drawing in progress.

DrawingContext

Some context that may be optionally provided to primitives in the drawing implementation.

IntermediaryState

State made accessible via the DrawingContext.

State

The inner state of the Draw type.

Enums

DrawCommand

Commands generated by drawings.

Scissor

The scissor for a Draw's render context.