PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
gs_psm.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GS_PSM_32   0x00
 
#define GS_PSM_24   0x01
 
#define GS_PSM_16   0x02
 
#define GS_PSM_16S   0x0A
 
#define GS_PSM_PS24   0x12
 
#define GS_PSM_8   0x13
 
#define GS_PSM_4   0x14
 
#define GS_PSM_8H   0x1B
 
#define GS_PSM_4HL   0x24
 
#define GS_PSM_4HH   0x2C
 
#define GS_PSMZ_32   0x30
 
#define GS_PSMZ_24   0x31
 
#define GS_PSMZ_16   0x32
 
#define GS_PSMZ_16S   0x3A
 
#define GS_ZBUF_32   0x00
 
#define GS_ZBUF_24   0x01
 
#define GS_ZBUF_16   0x02
 
#define GS_ZBUF_16S   0x0A
 

Detailed Description

GS Pixel-Storage Methods

Definition in file gs_psm.h.

Macro Definition Documentation

◆ GS_PSM_32

#define GS_PSM_32   0x00

32 bits per pixel.

Definition at line 11 of file gs_psm.h.

◆ GS_PSM_24

#define GS_PSM_24   0x01

24 bits per pixel.

Definition at line 13 of file gs_psm.h.

◆ GS_PSM_16

#define GS_PSM_16   0x02

16 bits per pixel.

Definition at line 15 of file gs_psm.h.

◆ GS_PSM_16S

#define GS_PSM_16S   0x0A

16 bits per pixel.

Definition at line 17 of file gs_psm.h.

◆ GS_PSM_PS24

#define GS_PSM_PS24   0x12

24 bits per pixel.

Definition at line 19 of file gs_psm.h.

◆ GS_PSM_8

#define GS_PSM_8   0x13

8 bits per pixel, palettized.

Definition at line 21 of file gs_psm.h.

◆ GS_PSM_4

#define GS_PSM_4   0x14

4 bits per pixel, palettized.

Definition at line 23 of file gs_psm.h.

◆ GS_PSM_8H

#define GS_PSM_8H   0x1B

8 bits per pixel, 24 to 32

Definition at line 25 of file gs_psm.h.

◆ GS_PSM_4HL

#define GS_PSM_4HL   0x24

4 bits per pixel, 28 to 32

Definition at line 27 of file gs_psm.h.

◆ GS_PSM_4HH

#define GS_PSM_4HH   0x2C

4 bits per pixel, 24 to 27

Definition at line 29 of file gs_psm.h.

◆ GS_PSMZ_32

#define GS_PSMZ_32   0x30

32 bits per pixel.

Definition at line 31 of file gs_psm.h.

◆ GS_PSMZ_24

#define GS_PSMZ_24   0x31

24 bits per pixel.

Definition at line 33 of file gs_psm.h.

◆ GS_PSMZ_16

#define GS_PSMZ_16   0x32

16 bits per pixel.

Definition at line 35 of file gs_psm.h.

◆ GS_PSMZ_16S

#define GS_PSMZ_16S   0x3A

16 bits per pixel.

Definition at line 37 of file gs_psm.h.

◆ GS_ZBUF_32

#define GS_ZBUF_32   0x00

32 bit zbuffer

Definition at line 42 of file gs_psm.h.

◆ GS_ZBUF_24

#define GS_ZBUF_24   0x01

24 bit zbuffer

Definition at line 44 of file gs_psm.h.

◆ GS_ZBUF_16

#define GS_ZBUF_16   0x02

16 bit zbuffer

Definition at line 46 of file gs_psm.h.

◆ GS_ZBUF_16S

#define GS_ZBUF_16S   0x0A

32/24 bit compatible 16 bit zbuffer

Definition at line 48 of file gs_psm.h.