#include
<oglplus/fwd.hpp>
The functions in OpenGL can be divided into several distinct categories based on how the object that the functions operate on is specified:
In some cases (for example if the EXT_direct_state_access
extension is implemented) there are several functions implementing
the same operation, but differing in the way how the object that they operate
on in selected.
OGLplus distinguishes the categories or kinds of the functions as listed above at compile-time by using the following tag types:
namespace tag { struct ExplicitSel; struct ImplicitSel; struct DirectState; struct DirectStateEXT; struct CurrentBound; } // namespace tag
Operations with explicit selector. |
|
Operations with implicit selector. |
|
Operations with direct state access (as defined in GL Core or ARB_direct_state_access). |
|
Operations with direct state access (as defined in EXT_direct_state_access). |