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§
- Vertex buffer info. This struct is used to describe the shape of the buffer data to be sent to the GPU for rendering.
- 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§
- The geometric primitive to draw (i.e. what shapes the buffer data describes).