Go to the source code of this file.
|
enum class | GrStencilTest : uint16_t {
kAlways
, kNever
, kGreater
, kGEqual
,
kLess
, kLEqual
, kEqual
, kNotEqual
} |
|
enum class | GrStencilOp : uint8_t {
kKeep
, kZero
, kReplace
, kInvert
,
kIncWrap
, kDecWrap
, kIncClamp
, kDecClamp
} |
|
◆ GrStencilOp
Enumerator |
---|
kKeep | |
kZero | |
kReplace | |
kInvert | |
kIncWrap | |
kDecWrap | |
kIncClamp | |
kDecClamp | |
Definition at line 32 of file GrStencilSettings.h.
32 : uint8_t {
39
40
43};
@ kInvert
Perform a logical bitwise invert on the current stencil value.
@ kKeep
Don't modify the current stencil value.
◆ GrStencilTest
Enumerator |
---|
kAlways | |
kNever | |
kGreater | |
kGEqual | |
kLess | |
kLEqual | |
kEqual | |
kNotEqual | |
Definition at line 20 of file GrStencilSettings.h.
20 : uint16_t {
29};
@ kAlways
Comparison test passes always passes.
@ kLess
Comparison test passes if new_value < current_value.
@ kGreater
Comparison test passes if new_value > current_value.
◆ kGrStencilOpCount
◆ kGrStencilTestCount