[][src]Trait lyon_tessellation::GeometryReceiver

pub trait GeometryReceiver {
    fn set_geometry(&mut self, vertices: &[Point], 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

fn set_geometry(&mut self, vertices: &[Point], indices: &[u32])

Loading content...

Implementors

impl GeometryReceiver for NoOutput[src]

impl<'l, OutputVertex, OutputIndex, Ctor> GeometryReceiver for BuffersBuilder<'l, OutputVertex, OutputIndex, Ctor> where
    OutputIndex: From<VertexId>,
    Ctor: BasicVertexConstructor<OutputVertex>, 
[src]

Loading content...