Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
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 14:48:02 by
