KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Comparison Modes

PowerVR depth comparison modes More...

Macros

#define PVR_DEPTHCMP_NEVER   0
 Never pass.
 
#define PVR_DEPTHCMP_LESS   1
 Less than.
 
#define PVR_DEPTHCMP_EQUAL   2
 Equal to.
 
#define PVR_DEPTHCMP_LEQUAL   3
 Less than or equal to.
 
#define PVR_DEPTHCMP_GREATER   4
 Greater than.
 
#define PVR_DEPTHCMP_NOTEQUAL   5
 Not equal to.
 
#define PVR_DEPTHCMP_GEQUAL   6
 Greater than or equal to.
 
#define PVR_DEPTHCMP_ALWAYS   7
 Always pass.
 

Detailed Description

PowerVR depth comparison modes

These set the depth function used for comparisons.

Macro Definition Documentation

◆ PVR_DEPTHCMP_ALWAYS

#define PVR_DEPTHCMP_ALWAYS   7

Always pass.

◆ PVR_DEPTHCMP_EQUAL

#define PVR_DEPTHCMP_EQUAL   2

Equal to.

◆ PVR_DEPTHCMP_GEQUAL

#define PVR_DEPTHCMP_GEQUAL   6

Greater than or equal to.

◆ PVR_DEPTHCMP_GREATER

#define PVR_DEPTHCMP_GREATER   4

Greater than.

◆ PVR_DEPTHCMP_LEQUAL

#define PVR_DEPTHCMP_LEQUAL   3

Less than or equal to.

◆ PVR_DEPTHCMP_LESS

#define PVR_DEPTHCMP_LESS   1

Less than.

◆ PVR_DEPTHCMP_NEVER

#define PVR_DEPTHCMP_NEVER   0

Never pass.

◆ PVR_DEPTHCMP_NOTEQUAL

#define PVR_DEPTHCMP_NOTEQUAL   5

Not equal to.