Ion
|
The below structs correspond to OpenGL "objects." For example, a BufferObject corresponds to an OpenGL buffer object, and a ProgramObject corresponds to an OpenGL program object. More...
#include "openglobjects.h"
Classes | |
struct | Attribute |
Public Attributes | |
std::vector< Attribute > | attributes |
The attribute index of an attribute is its index in the vector. More... | |
The below structs correspond to OpenGL "objects." For example, a BufferObject corresponds to an OpenGL buffer object, and a ProgramObject corresponds to an OpenGL program object.
The structs are templated on their base class so that ancestors can implement specific functionalty, such as tracking memory or object id.
The default values for constructors are taken from the manpages of OpenGL Get functions.
An ArrayInfo corresponds an OpenGL Vertex Array Object.
Definition at line 42 of file openglobjects.h.
std::vector<Attribute> ion::gfx::ArrayInfo< T >::attributes |
The attribute index of an attribute is its index in the vector.
Definition at line 80 of file openglobjects.h.