StencilMode
Allows to set function and reference value for stencil testing, which modifies stencil buffer values to enable or disable drawing on a per-pixel basis. The stencil test conditionally eliminates a pixel based on the outcome of a comparison between the value in the stencil buffer and a reference value.
Inheritance
Code
XML encoding
<StencilMode stencilFunc='none' stencilValue='0' stencilMask='0' stencilOpFail='keep' stencilOpZFail='keep' stencilOpZPass='keep' bitMask='-1' logFeature='' />
Classic encoding
StencilMode { stencilFunc "none" stencilValue 0 stencilMask 0 stencilOpFail "keep" stencilOpZFail "keep" stencilOpZPass "keep" bitMask -1 logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |