logo
pub trait Grouping: StaticArity {
    type Group;
}

Required Associated Types

Implementors

Structured index buffer grouping.

Describes a structured index buffer containing Topological types with index data in their vertices.

Examples

Creating a MeshBuffer with a structured index buffer:

use plexus::buffer::MeshBuffer;
use plexus::prelude::*;
use plexus::primitive::BoundedPolygon;

let mut buffer = MeshBuffer::<BoundedPolygon<usize>, (f64, f64, f64)>::default();