0.8.0 API documentation
Public Member Functions | List of all members
gl Class Reference

Translation class to convert GLI enums into OpenGL values. More...

Public Member Functions

gli::format find (internal_format InternalFormat, external_format ExternalFormat, type_format Type)
 Convert an OpenGL format into a GLI format.
 
target const & translate (gli::target Target) const
 Convert GLI targets into OpenGL texture targets.
 
format translate (gli::format Format, gli::swizzles const &Swizzle) const
 Convert GLI formats into OpenGL texture formats.
 

Detailed Description

Translation class to convert GLI enums into OpenGL values.

Definition at line 13 of file gl.hpp.