ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
color_t Union Reference

#include <draw_types.h>

Data Fields

u64 rgbaq
 
struct {
   u8   r
 
   u8   g
 
   u8   b
 
   u8   a
 
   float   q
 
}; 
 

Detailed Description

Definition at line 39 of file draw_types.h.

Field Documentation

◆ 

struct { ... }

◆ a

u8 color_t::a

Definition at line 45 of file draw_types.h.

Referenced by draw_convert_rgbaq(), draw_convert_rgbq(), render(), render_teapot(), and run_demo().

◆ b

u8 color_t::b

Definition at line 44 of file draw_types.h.

Referenced by draw_convert_rgbaq(), draw_convert_rgbq(), render(), and run_demo().

◆ g

u8 color_t::g

Definition at line 43 of file draw_types.h.

Referenced by draw_convert_rgbaq(), draw_convert_rgbq(), render(), and run_demo().

◆ q

float color_t::q

Definition at line 46 of file draw_types.h.

Referenced by draw_convert_rgbaq(), draw_convert_rgbq(), render(), and run_demo().

◆ r

u8 color_t::r

Definition at line 42 of file draw_types.h.

Referenced by draw_convert_rgbaq(), draw_convert_rgbq(), render(), and run_demo().

◆ rgbaq


The documentation for this union was generated from the following file: