PS2SDK
PS2 Homebrew Libraries
gs_psm.h
Go to the documentation of this file.
1 
6 #ifndef __GS_PSM_H__
7 #define __GS_PSM_H__
8 
9 // Pixel-Storage Methods
11 #define GS_PSM_32 0x00
12 
13 #define GS_PSM_24 0x01
14 
15 #define GS_PSM_16 0x02
16 
17 #define GS_PSM_16S 0x0A
18 
19 #define GS_PSM_PS24 0x12
20 
21 #define GS_PSM_8 0x13
22 
23 #define GS_PSM_4 0x14
24 
25 #define GS_PSM_8H 0x1B
26 
27 #define GS_PSM_4HL 0x24
28 
29 #define GS_PSM_4HH 0x2C
30 
31 #define GS_PSMZ_32 0x30
32 
33 #define GS_PSMZ_24 0x31
34 
35 #define GS_PSMZ_16 0x32
36 
37 #define GS_PSMZ_16S 0x3A
38 
39 
40 // ZBuffer Setting
42 #define GS_ZBUF_32 0x00
43 
44 #define GS_ZBUF_24 0x01
45 
46 #define GS_ZBUF_16 0x02
47 
48 #define GS_ZBUF_16S 0x0A
49 
50 #endif /* __GS_PSM_H__ */