API Reference

Class List

pc.StencilParameters

Holds stencil test settings

Summary

Properties

failSets operation to perform if stencil test is failed.
funcSets stencil test function.
readMaskSets stencil test reading mask.
refSets stencil test reference value.
writeMaskSets stencil test writing mask.
zfailSets operation to perform if depth test is failed.
zpassSets operation to perform if both stencil and depth test are passed.

Details

Constructor

StencilParameters()

Create a new StencilParameters instance

Properties

Numberfail

Sets operation to perform if stencil test is failed. See pc.GraphicsDevice#setStencilOperation

Numberfunc

Sets stencil test function. See pc.GraphicsDevice#setStencilFunc

NumberreadMask

Sets stencil test reading mask. See pc.GraphicsDevice#setStencilFunc

Numberref

Sets stencil test reference value. See pc.GraphicsDevice#setStencilFunc

NumberwriteMask

Sets stencil test writing mask. See pc.GraphicsDevice#setStencilOperation

Numberzfail

Sets operation to perform if depth test is failed. See pc.GraphicsDevice#setStencilOperation

Numberzpass

Sets operation to perform if both stencil and depth test are passed. See pc.GraphicsDevice#setStencilOperation