EasyManua.ls Logo

Bridgetek FT801 - Figure 12: STENCIL_OP Constants Definition; Stencil_Op

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
138
Product Page
Document Feedback Copyright © Bridgetek Limited
4.40 STENCIL_OP
Set stencil test actions
Encoding
31 24
23 6
5 3
2 0
0x0C
reserved
sfail
spass
Parameters
sfail
Specifies the action to take when the stencil test fails, one of KEEP, ZERO,
REPLACE, INCR, DECR, and INVERT. The initial value is KEEP (1)
spass
Specifies the action to take when the stencil test passes, one of the same
constants as sfail. The initial value is KEEP (1)
NAME VALUE
ZERO 0
KEEP 1
REPLACE 2
INCR 3
DECR 4
INVERT 5
Figure 12: STENCIL_OP constants definition
Description
The stencil operation specifies how the stencil buffer is updated. The operation
selected depends on whether the stencil test passes or not.

Table of Contents