10 #include <type_traits> 18 return static_cast<typename underlying_type<E>::type
> (e);
23 return static_cast<typename underlying_type<E>::type
> (e);
28 return static_cast<typename underlying_type<E>::type
> (e);
GLenum to_GLenum(E e)
Gets the GLenum value from an enum class.
Generic namespace for the SimpleGL framework.
GLbitfield to_GLbitfield(E e)
Gets the GLbitfield value from an enum class.
GLint to_GLint(E e)
Gets the GLint value from an enum class.