Expand description
GPU-accelerated shapes and textured triangle meshes in 2D and 3D.
Provides geometry primitives with fill, stroke, and texture support.
Re-exports§
pub use self::circle::Circle;pub use self::circle::CircleFill;pub use self::circle::CircleStroke;pub use self::geometry::Mesh;pub use self::polygon::Polygon;pub use self::polygon::PolygonFill;pub use self::polyline::Polyline;pub use self::polyline::PolylineFill;pub use self::polyline::PolylinePoint;pub use self::shape::Shape;pub use self::shape::Textured;
Modules§
- geometry
- material
- Custom shading on the shared mesh/instance renderer.
- prelude
- Commonly used shape traits.
- shader
Macros§
Structs§
- Circle
- Circle
Fill - Circle
Stroke - Polygon
- Polygon
Fill - Polyline
- An open ribbon with flat caps and miter joins, falling back to bevel joins when the outer miter exceeds four times the half-width.
- Polyline
Fill - A filled
Polyline, with the usual color and texture modifiers. - Polyline
Point - A polyline junction. Width is the full width in local world units, like
ShapesLibrary::line; zero width produces a tapered tip or pinch. - Shapes
Library - Shared graphics library for rendering shapes and meshes.
- Shapes
State - Shared state for shape rendering.