[][src]Trait lyon_tessellation::GeometryReceiver

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

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

Loading content...

Implementors

impl<'l, VertexType, IndexType, InputVertex, Ctor> GeometryReceiver<InputVertex> for BuffersBuilder<'l, VertexType, IndexType, InputVertex, Ctor> where
    VertexType: 'l + Clone,
    IndexType: From<VertexId>,
    Ctor: VertexConstructor<InputVertex, VertexType>,
    InputVertex: Clone
[src]

impl<V> GeometryReceiver<V> for NoOutput[src]

Loading content...