[−][src]Trait lyon_tessellation::GeometryReceiver
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])
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]
VertexType: 'l + Clone,
IndexType: From<VertexId>,
Ctor: VertexConstructor<InputVertex, VertexType>,
InputVertex: Clone,