opencv on mbed
Arrays Class Reference
[OpenGL interoperability]
Wrapper for OpenGL Client-Side Vertex arrays. More...
#include <opengl.hpp>
Public Member Functions | |
Arrays () | |
Default constructor. | |
void | setVertexArray (InputArray vertex) |
Sets an array of vertex coordinates. | |
void | resetVertexArray () |
Resets vertex coordinates. | |
void | setColorArray (InputArray color) |
Sets an array of vertex colors. | |
void | resetColorArray () |
Resets vertex colors. | |
void | setNormalArray (InputArray normal) |
Sets an array of vertex normals. | |
void | resetNormalArray () |
Resets vertex normals. | |
void | setTexCoordArray (InputArray texCoord) |
Sets an array of vertex texture coordinates. | |
void | resetTexCoordArray () |
Resets vertex texture coordinates. | |
void | release () |
Releases all inner buffers. | |
void | setAutoRelease (bool flag) |
Sets auto release mode all inner buffers. | |
void | bind () const |
Binds all vertex arrays. | |
int | size () const |
Returns the vertex count. |
Detailed Description
Wrapper for OpenGL Client-Side Vertex arrays.
ogl::Arrays stores vertex data in ogl::Buffer objects.
Definition at line 406 of file opengl.hpp.
Constructor & Destructor Documentation
Arrays | ( | ) |
Default constructor.
Generated on Tue Jul 12 2022 16:42:45 by 1.7.2