FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
85
Copyright © Bridgetek Limited
4.4
ALPHA_FUNC
Specify the alpha test function
Encoding
31 24 23 11
10 8
7
6
5
4
3
2
1
0
0x09
Reserved
func
ref
Parameters
func
Specifies the test function, one of NEVER, LESS, LEQUAL, GREATER, GEQUAL,
EQUAL, NOTEQUAL, or ALWAYS. The initial value is ALWAYS (7)
NAME
VALUE
NEVER
0
LESS
1
LEQUAL
2
GREATER
3
GEQUAL
4
EQUAL
5
NOTEQUAL
6
ALWAYS
7
Figure 8: The constants of ALPHA_FUNC
ref
Specifies the reference value for the alpha test. The initial value is 0
Graphics context
The values of func and ref are part of the graphics context, as described in section
See also
None