StencilParameters
Holds stencil test settings.
Summary
Properties
fail | Sets operation to perform if stencil test is failed. |
func | Sets stencil test function. |
readMask | Sets stencil test reading mask. |
ref | Sets stencil test reference value. |
writeMask | Sets stencil test writing mask. |
zfail | Sets operation to perform if depth test is failed. |
zpass | Sets operation to perform if both stencil and depth test are passed. |
Details
Constructor
StencilParameters(options)
Create a new StencilParameters instance.
Parameters
options | object | Options object to configure the stencil parameters. |
Properties
numberfail
Sets operation to perform if stencil test is failed. See GraphicsDevice#setStencilOperation.