wut  v1.7.0
Wii U Toolchain
Macros | Typedefs | Enumerations
Utils
Collaboration diagram for Utils:

Macros

#define GX2_SEL_MASK(x, y, z, w)   (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))
 
#define GX2_COMP_MAP(x, y, z, w)   (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))
 

Typedefs

typedef enum GX2_SQ_SEL GX2_SQ_SEL
 

Enumerations

enum  GX2_SQ_SEL {
  GX2_SQ_SEL_X = 0 ,
  GX2_SQ_SEL_Y = 1 ,
  GX2_SQ_SEL_Z = 2 ,
  GX2_SQ_SEL_W = 3 ,
  GX2_SQ_SEL_R = 0 ,
  GX2_SQ_SEL_G = 1 ,
  GX2_SQ_SEL_B = 2 ,
  GX2_SQ_SEL_A = 3 ,
  GX2_SQ_SEL_0 = 4 ,
  GX2_SQ_SEL_1 = 5 ,
  GX2_SQ_SEL_MASK = 7
}
 

Detailed Description

Macro Definition Documentation

◆ GX2_SEL_MASK

#define GX2_SEL_MASK (   x,
  y,
  z,
 
)    (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))

Definition at line 31 of file utils.h.

◆ GX2_COMP_MAP

#define GX2_COMP_MAP (   x,
  y,
  z,
 
)    (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))

Definition at line 32 of file utils.h.

Typedef Documentation

◆ GX2_SQ_SEL

typedef enum GX2_SQ_SEL GX2_SQ_SEL

Enumeration Type Documentation

◆ GX2_SQ_SEL

enum GX2_SQ_SEL
Enumerator
GX2_SQ_SEL_X 
GX2_SQ_SEL_Y 
GX2_SQ_SEL_Z 
GX2_SQ_SEL_W 
GX2_SQ_SEL_R 
GX2_SQ_SEL_G 
GX2_SQ_SEL_B 
GX2_SQ_SEL_A 
GX2_SQ_SEL_0 
GX2_SQ_SEL_1 
GX2_SQ_SEL_MASK 

Definition at line 14 of file utils.h.