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

Modifier volume modes for PowerVR primitive contexts More...

Macros

#define PVR_MODIFIER_OTHER_POLY   0
 Not the last polygon in the volume.
 
#define PVR_MODIFIER_INCLUDE_LAST_POLY   1
 Last polygon, inclusion volume.
 
#define PVR_MODIFIER_EXCLUDE_LAST_POLY   2
 Last polygon, exclusion volume.
 

Detailed Description

Modifier volume modes for PowerVR primitive contexts

All triangles in a single modifier volume should be of the other poly type, except for the last one. That should be either of the other two types, depending on whether you want an inclusion or exclusion volume.

Macro Definition Documentation

◆ PVR_MODIFIER_EXCLUDE_LAST_POLY

#define PVR_MODIFIER_EXCLUDE_LAST_POLY   2

Last polygon, exclusion volume.

◆ PVR_MODIFIER_INCLUDE_LAST_POLY

#define PVR_MODIFIER_INCLUDE_LAST_POLY   1

Last polygon, inclusion volume.

◆ PVR_MODIFIER_OTHER_POLY

#define PVR_MODIFIER_OTHER_POLY   0

Not the last polygon in the volume.