Struct gfx_core::handle::Buffer
[−]
[src]
pub struct Buffer<R: Resources, T>(_, _);
Type-safe buffer handle
Methods
impl<R: Resources, T> Buffer<R, T>
fn get_info(&self) -> &BufferInfo
Get the associated information about the buffer
fn len(&self) -> usize
Get the number of elements in the buffer.
Fails if T
is zero-sized.