Module nannou::draw [−][src]
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::theme::Theme; |
Modules
backend | |
background | |
mesh |
Items related to the custom mesh type used by the |
properties |
Parameters which a Drawing instance may use to describe certain properties of a drawing. |
theme |
Structs
Draw |
A simple API for drawing 2D and 3D graphics. |
Drawing |
A Drawing in progress. |
IntermediaryMesh |
An intermediary mesh to which drawings-in-progress may store vertex data and indices until they are submitted to the Draw's inner mesh. |
IntermediaryVertexData |
A set of intermediary buffers for collecting geometry point data for geometry types that may produce a dynamic number of vertices that may or not also contain colour or texture data. |
IntermediaryVertexDataRanges |
A set of ranges into the IntermediaryVertexData. |
RawVertices |
An iterator yielding all raw mesh vertices transformed via the geometry graph. |
State |
The inner state of the Draw type. |
Vertices |
An iterator yielding all indexed mesh vertices transformed via the geometry graph. |
Type Definitions
NodeTriangles |
An iterator yielding the transformed triangles for a node. |
NodeVertices |
An iterator yielding the transformed, indexed vertices for a node. |
RawNodeVertices |
An iterator yielding the transformed raw vertices for a node. |
Triangles |
An iterator yielding all indexed mesh triangles transformed via the geometry graph. |