[−][src]Trait lyon_tessellation::geometry_builder::FillGeometryBuilder
A Geometry builder to interface with the FillTessellator
.
Types implementing this trait must also implement the GeometryBuilder
trait.
Required methods
pub fn add_fill_vertex(
&mut self,
vertex: FillVertex<'_>
) -> Result<VertexId, GeometryBuilderError>
[src]
&mut self,
vertex: FillVertex<'_>
) -> Result<VertexId, GeometryBuilderError>
Inserts a vertex, providing its position, and optionally a normal. Returns a vertex id that is only valid between begin_geometry and end_geometry.
This method can only be called between begin_geometry and end_geometry.
Implementors
impl FillGeometryBuilder for NoOutput
[src]
pub fn add_fill_vertex(
&mut self,
_vertex: FillVertex<'_>
) -> Result<VertexId, GeometryBuilderError>
[src]
&mut self,
_vertex: FillVertex<'_>
) -> Result<VertexId, GeometryBuilderError>
impl<'l, OutputVertex, OutputIndex, Ctor> FillGeometryBuilder for BuffersBuilder<'l, OutputVertex, OutputIndex, Ctor> where
OutputVertex: 'l,
OutputIndex: Add + From<VertexId> + MaxIndex,
Ctor: FillVertexConstructor<OutputVertex>,
[src]
OutputVertex: 'l,
OutputIndex: Add + From<VertexId> + MaxIndex,
Ctor: FillVertexConstructor<OutputVertex>,
pub fn add_fill_vertex(
&mut self,
vertex: FillVertex<'_>
) -> Result<VertexId, GeometryBuilderError>
[src]
&mut self,
vertex: FillVertex<'_>
) -> Result<VertexId, GeometryBuilderError>