spitfire_core

Trait VertexStreamRenderer

Source
pub trait VertexStreamRenderer<V: Pod, B> {
    type Error;

    // Required method
    fn render(
        &mut self,
        stream: &mut VertexStream<V, B>,
    ) -> Result<(), Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn render(&mut self, stream: &mut VertexStream<V, B>) -> Result<(), Self::Error>

Implementations on Foreign Types§

Source§

impl<V: Pod, B> VertexStreamRenderer<V, B> for ()

Source§

type Error = ()

Source§

fn render(&mut self, _: &mut VertexStream<V, B>) -> Result<(), Self::Error>

Implementors§