0.8.0 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, ddpf PixelFormat) const
 Convert a Direct3D 9 format into a GLI format.
 
gli::format find (d3dfmt FourCC, dxgiFormat Format, ddpf PixelFormat) const
 Convert a Direct3D 10 format into a GLI format.
 
format const & translate (gli::format const &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.