pub struct Buffer<T: VertexDescriptor + Copy> { /* private fields */ }
Expand description

Buffers a set of elements on the device.

Implementations

Creates a new buffer.

Gets the number of elements in the buffer.

Clears all elements from the buffer.

Sets the elements in the buffer.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.