Trait gfx::IntoIndexBuffer
source · pub trait IntoIndexBuffer<R: Resources> {
// Required method
fn into_index_buffer<F: Factory<R> + ?Sized>(
self,
factory: &mut F
) -> IndexBuffer<R>;
}
Expand description
A helper trait to create IndexBuffers
from different kinds of data.
Required Methods§
sourcefn into_index_buffer<F: Factory<R> + ?Sized>(
self,
factory: &mut F
) -> IndexBuffer<R>
fn into_index_buffer<F: Factory<R> + ?Sized>( self, factory: &mut F ) -> IndexBuffer<R>
Turns self into an IndexBuffer
.