|
template<uint16_t Ref, GrUserStencilTest Test, uint16_t TestMask, GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask, typename Attrs = Attrs<Test, PassOp, FailOp>> |
constexpr | GrUserStencilSettings (const Init< Ref, Test, TestMask, PassOp, FailOp, WriteMask > &) |
|
template<uint16_t CWRef, uint16_t CCWRef, GrUserStencilTest CWTest, GrUserStencilTest CCWTest, uint16_t CWTestMask, uint16_t CCWTestMask, GrUserStencilOp CWPassOp, GrUserStencilOp CCWPassOp, GrUserStencilOp CWFailOp, GrUserStencilOp CCWFailOp, uint16_t CWWriteMask, uint16_t CCWWriteMask, typename CWAttrs = Attrs<CWTest, CWPassOp, CWFailOp>, typename CCWAttrs = Attrs<CCWTest, CCWPassOp, CCWFailOp>> |
constexpr | GrUserStencilSettings (const InitSeparate< CWRef, CCWRef, CWTest, CCWTest, CWTestMask, CCWTestMask, CWPassOp, CCWPassOp, CWFailOp, CCWFailOp, CWWriteMask, CCWWriteMask > &) |
|
| GrUserStencilSettings ()=delete |
|
| GrUserStencilSettings (const GrUserStencilSettings &)=delete |
|
uint16_t | flags (bool hasStencilClip) const |
|
bool | isDisabled (bool hasStencilClip) const |
|
bool | testAlwaysPasses (bool hasStencilClip) const |
|
bool | isTwoSided (bool hasStencilClip) const |
|
bool | usesWrapOp (bool hasStencilClip) const |
|
bool | isUnused () const |
|
|
template<uint16_t Ref, GrUserStencilTest Test, uint16_t TestMask, GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask> |
static constexpr Init< Ref, Test, TestMask, PassOp, FailOp, WriteMask > | StaticInit () |
|
template<uint16_t CWRef, uint16_t CCWRef, GrUserStencilTest CWTest, GrUserStencilTest CCWTest, uint16_t CWTestMask, uint16_t CCWTestMask, GrUserStencilOp CWPassOp, GrUserStencilOp CCWPassOp, GrUserStencilOp CWFailOp, GrUserStencilOp CCWFailOp, uint16_t CWWriteMask, uint16_t CCWWriteMask> |
static constexpr InitSeparate< CWRef, CCWRef, CWTest, CCWTest, CWTestMask, CCWTestMask, CWPassOp, CCWPassOp, CWFailOp, CCWFailOp, CWWriteMask, CCWWriteMask > | StaticInitSeparate () |
|
This struct is a compile-time constant representation of user stencil settings. It describes in abstract terms how a draw will use the stencil buffer. It gets ODR-used at runtime to define a draw's stencil settings, and is later translated into concrete settings when the pipeline is finalized.
Definition at line 112 of file GrUserStencilSettings.h.