Trait glium::vertex::IntoVerticesSource
[−]
[src]
pub trait IntoVerticesSource<'a> { fn into_vertices_source(self) -> VerticesSource<'a>; }
Objects that can be used as vertex sources.
Required Methods
fn into_vertices_source(self) -> VerticesSource<'a>
Builds the VerticesSource
.
Implementors
impl<'a, T> IntoVerticesSource<'a> for &'a VertexBuffer<T> where T: Copy
impl<'a, T> IntoVerticesSource<'a> for VertexBufferSlice<'a, T> where T: Copy
impl<'a> IntoVerticesSource<'a> for &'a VertexBufferAny
impl<'a> IntoVerticesSource<'a> for VerticesSource<'a>
impl<'a> IntoVerticesSource<'a> for EmptyVertexAttributes
impl<'a> IntoVerticesSource<'a> for EmptyInstanceAttributes
impl<'a> IntoVerticesSource<'a> for PerInstance<'a>