Trait gfx::IntoIndexBuffer [] [src]

pub trait IntoIndexBuffer<R: Resources> {
    fn into_index_buffer<F: Factory<R> + ?Sized>(self,
                                                 factory: &mut F)
                                                 -> IndexBuffer<R>; }

A helper trait to create IndexBuffers from different kinds of data.

Required Methods

Turns self into an IndexBuffer.

Implementors