pub unsafe trait VertexSource<L> {
    fn decode(
        &self,
        _: L
    ) -> (Vec<Box<dyn BufferAccess + Send + Sync>>, usize, usize); }
Expand description

Extension trait of VertexDefinition. The L parameter is an acceptable vertex source for this vertex definition.

Required Methods

Checks and returns the list of buffers with offsets, number of vertices and number of instances.

Implementors