Module nannou::draw[][src]

Expand description

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

See the Draw type for more details.


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;


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

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


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

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

A Drawing in progress.

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

State made accessible via the DrawingContext.

The inner state of the Draw type.


Commands generated by drawings.

The scissor for a Draw’s render context.