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

Blending modes for PowerVR primitive contexts. More...

Macros

#define PVR_BLEND_ZERO   0
 None of this color.
 
#define PVR_BLEND_ONE   1
 All of this color.
 
#define PVR_BLEND_DESTCOLOR   2
 Destination color.
 
#define PVR_BLEND_INVDESTCOLOR   3
 Inverse of destination color.
 
#define PVR_BLEND_SRCALPHA   4
 Blend with source alpha.
 
#define PVR_BLEND_INVSRCALPHA   5
 Blend with inverse source alpha.
 
#define PVR_BLEND_DESTALPHA   6
 Blend with destination alpha.
 
#define PVR_BLEND_INVDESTALPHA   7
 Blend with inverse destination alpha.
 

Detailed Description

Blending modes for PowerVR primitive contexts.

These are all the blending modes that can be done with regard to alpha blending on the PVR.

Macro Definition Documentation

◆ PVR_BLEND_DESTALPHA

#define PVR_BLEND_DESTALPHA   6

Blend with destination alpha.

◆ PVR_BLEND_DESTCOLOR

#define PVR_BLEND_DESTCOLOR   2

Destination color.

◆ PVR_BLEND_INVDESTALPHA

#define PVR_BLEND_INVDESTALPHA   7

Blend with inverse destination alpha.

◆ PVR_BLEND_INVDESTCOLOR

#define PVR_BLEND_INVDESTCOLOR   3

Inverse of destination color.

◆ PVR_BLEND_INVSRCALPHA

#define PVR_BLEND_INVSRCALPHA   5

Blend with inverse source alpha.

◆ PVR_BLEND_ONE

#define PVR_BLEND_ONE   1

All of this color.

◆ PVR_BLEND_SRCALPHA

#define PVR_BLEND_SRCALPHA   4

Blend with source alpha.

◆ PVR_BLEND_ZERO

#define PVR_BLEND_ZERO   0

None of this color.