Trait lyon_tessellation::GeometryReceiver[][src]

pub trait GeometryReceiver<Vertex> {
    fn set_geometry(&mut self, vertices: &[Vertex], indices: &[u32]);
}

An interface with similar goals to GeometryBuilder for algorithms that pre-build the vertex and index buffers.

This is primarily intended for efficient interaction with the libtess2 tessellator from the lyon_tess2 crate.

Required Methods

Implementors