Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::gfx::ArrayInfo< T > Struct Template Reference

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"

Inheritance diagram for ion::gfx::ArrayInfo< T >:
Collaboration diagram for ion::gfx::ArrayInfo< T >:

Classes

struct  Attribute
 

Public Attributes

std::vector< Attributeattributes
 The attribute index of an attribute is its index in the vector. More...
 

Detailed Description

template<typename T>
struct ion::gfx::ArrayInfo< T >

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.

Member Data Documentation

template<typename T >
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.


The documentation for this struct was generated from the following file: