|
GL++
0.1
OpenGL API C++ Wrapper
|
Base type for OpenGL objects. More...
#include <base.hpp>
Public Types | |
| typedef NameType | name_type |
| Type of the name. | |
Public Member Functions | |
| name_type | object_name () const |
| Return the name of object (handle) | |
Protected Attributes | |
| NameType | m_gl_name |
| Stored object name. | |
Base type for OpenGL objects.
All OpenGL objects are described by a constant name (handle). This is the base class that exposes the name (handle) of the object. http://www.opengl.org/wiki/OpenGL_Objects
| typedef NameType glpp::named_object< NameType >::name_type |
Type of the name.
Not all objects use the same type for name.
|
inline |
Return the name of object (handle)
The name can be used directly by OpenGL functions.