glbinding
2.0.0.00e2ff521289
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/include/glbinding/SharedBitfield.h>
Public Types | |
using | UnderlyingType = T |
Propagate underlying type. More... | |
Public Member Functions | |
SharedBitfieldBase (T value) | |
Constructor. More... | |
operator T () const | |
Cast operator to the underlying type. More... | |
Protected Attributes | |
T | m_value |
The value of the SharedBitfield. More... | |
The base class of a SharedBitfield, containing the actual (and convertible) bitfield value.
T | The underlying type of the type-safe enum class. |
using glbinding::SharedBitfieldBase< T >::UnderlyingType = T |
Propagate underlying type.
glbinding::SharedBitfieldBase< T >::SharedBitfieldBase | ( | T | value | ) |
Constructor.
[in] | value | The value encoded in this shared bitfield. |
|
explicit |
Cast operator to the underlying type.
References glbinding::SharedBitfieldBase< T >::m_value.
|
protected |
The value of the SharedBitfield.
Referenced by glbinding::SharedBitfieldBase< T >::operator T().