![]() |
glbinding
3.3.0.0
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
The base class of a SharedBitfield, containing the actual (and convertible) bitfield value. More...
#include <glbinding/SharedBitfield.h>
Public Types | |
using | UnderlyingType = T |
Propagate underlying type. | |
Public Member Functions | |
GLBINDING_CONSTEXPR | SharedBitfieldBase (T value) |
Constructor. | |
GLBINDING_CONSTEXPR | operator T () const |
Cast operator to the underlying type. | |
Protected Attributes | |
T | m_value |
The value of the SharedBitfield. | |
The base class of a SharedBitfield, containing the actual (and convertible) bitfield value.
T | The underlying type of the type-safe enum class |
Propagate underlying type.
|
inline |
Constructor.
[in] | value | The value encoded in this shared bitfield |
|
inlineexplicit |
Cast operator to the underlying type.
|
protected |
The value of the SharedBitfield.