0.6.1
Classes | Namespaces | Macros
dx.hpp File Reference

Go to the source code of this file.

Classes

class  dx
 
struct  dx::format
 

Namespaces

 gli
 

Macros

#define GLI_MAKEFOURCC(ch0, ch1, ch2, ch3)
 

Macro Definition Documentation

#define GLI_MAKEFOURCC (   ch0,
  ch1,
  ch2,
  ch3 
)
Value:
(std::uint32_t)( \
(((std::uint32_t)(std::uint8_t)(ch3) << 24) & 0xFF000000) | \
(((std::uint32_t)(std::uint8_t)(ch2) << 16) & 0x00FF0000) | \
(((std::uint32_t)(std::uint8_t)(ch1) << 8) & 0x0000FF00) | \
((std::uint32_t)(std::uint8_t)(ch0) & 0x000000FF) )

Definition at line 39 of file dx.hpp.