Trait gfx::render::mesh::ToSlice [] [src]

pub trait ToSlice<R: Resources> {
    fn to_slice(&self, pt: PrimitiveType) -> Slice<R>;
}

Helper methods for cleanly getting the slice of a type.

Required Methods

fn to_slice(&self, pt: PrimitiveType) -> Slice<R>

Get the slice of a type.

Implementors