Trait gfx::IntoIndexBuffer [−][src]
A helper trait to create IndexBuffers
from different kinds of data.
Required methods
fn into_index_buffer<F: Factory<R> + ?Sized>(
self,
factory: &mut F
) -> IndexBuffer<R>
[src]
self,
factory: &mut F
) -> IndexBuffer<R>
Turns self into an IndexBuffer
.
Implementations on Foreign Types
impl<R: Resources> IntoIndexBuffer<R> for ()
[src]
fn into_index_buffer<F: Factory<R> + ?Sized>(self, _: &mut F) -> IndexBuffer<R>
[src]
impl<'s, R: Resources> IntoIndexBuffer<R> for &'s [u16]
[src]
fn into_index_buffer<F: Factory<R> + ?Sized>(
self,
factory: &mut F
) -> IndexBuffer<R>
[src]
self,
factory: &mut F
) -> IndexBuffer<R>
impl<'s, R: Resources> IntoIndexBuffer<R> for &'s [u32]
[src]
fn into_index_buffer<F: Factory<R> + ?Sized>(
self,
factory: &mut F
) -> IndexBuffer<R>
[src]
self,
factory: &mut F
) -> IndexBuffer<R>