pub struct Arrays { /* private fields */ }
Expand description

Wrapper for OpenGL Client-Side Vertex arrays.

ogl::Arrays stores vertex data in ogl::Buffer objects.

Implementations

Default constructor

Trait Implementations

Sets an array of vertex coordinates. Read more

Resets vertex coordinates.

Sets an array of vertex colors. Read more

Resets vertex colors.

Sets an array of vertex normals. Read more

Resets vertex normals.

Sets an array of vertex texture coordinates. Read more

Resets vertex texture coordinates.

Releases all inner buffers.

Sets auto release mode all inner buffers. Read more

Binds all vertex arrays.

Returns the vertex count.

Wrap the specified raw pointer Read more

Return an the underlying raw pointer while consuming this wrapper. Read more

Return the underlying raw pointer. Read more

Return the underlying mutable raw pointer Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.