FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
85
Product Page
Document Feedback Copyright © Bridgetek Limited
4.4 ALPHA_FUNC
Specify the alpha test function
Encoding
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
4.1
See also
None