0.8.2 API documentation
Public Member Functions | List of all members
dx Class Reference

Translation class to convert GLI enums into DirectX enums. More...

Public Member Functions

gli::format find (d3dfmt FourCC) const
 Convert a Direct3D 9 format into a GLI format.
 
gli::format find (d3dfmt FourCC, dxgiFormat Format) const
 Convert a Direct3D 10 format into a GLI format.
 
format const & translate (gli::format Format) const
 Convert GLI formats into Direct3D formats.
 

Detailed Description

Translation class to convert GLI enums into DirectX enums.

Definition at line 13 of file dx.hpp.