Expand description
Configure vertex buffer objects to be sent to the GPU for rendering.
See the attrib module for details on how to describe the shape and type
of the VBO data.
Structs§
- Indices
- An index buffer for indexed drawing. See
Slice::index_bufferto obtain one. - Info
- Vertex buffer info. This struct is used to describe the shape of the buffer data to be sent to the GPU for rendering.
- Slice
- A slice of buffer data. This borrows the buffer data and can be thought of
as similar to
&[T]obtained by slicing aVec<T>.
Enums§
- Primitive
- The geometric primitive to draw (i.e. what shapes the buffer data describes).
Traits§
- Index
- A type that can be used as an index for indexed drawing.