pub struct Buffer<R, T>(_, _)
where
R: Resources;
Expand description
Type-safe buffer handle
Implementations§
Trait Implementations§
source§impl<R: Resources> IntoIndexBuffer<R> for Buffer<R, u16>
impl<R: Resources> IntoIndexBuffer<R> for Buffer<R, u16>
source§fn into_index_buffer<F: Factory<R> + ?Sized>(self, _: &mut F) -> IndexBuffer<R>
fn into_index_buffer<F: Factory<R> + ?Sized>(self, _: &mut F) -> IndexBuffer<R>
Turns self into an
IndexBuffer
.source§impl<R: Resources> IntoIndexBuffer<R> for Buffer<R, u32>
impl<R: Resources> IntoIndexBuffer<R> for Buffer<R, u32>
source§fn into_index_buffer<F: Factory<R> + ?Sized>(self, _: &mut F) -> IndexBuffer<R>
fn into_index_buffer<F: Factory<R> + ?Sized>(self, _: &mut F) -> IndexBuffer<R>
Turns self into an
IndexBuffer
.