StencilFunc
The stencilFunc method of the WebGL API sets the front and back function and reference value for stencil testing. Stenciling enables and disables drawing on a per-pixel basis. It is typically used in multipass rendering to achieve special effects.
Enumeration Members
Never Stencil Func
NeverStencilFunc: 512
Less Stencil Func
LessStencilFunc: 513
Equal Stencil Func
EqualStencilFunc: 514
Less Equal Stencil Func
LessEqualStencilFunc: 515
Greater Stencil Func
GreaterStencilFunc: 516
Not Equal Stencil Func
NotEqualStencilFunc: 517
Greater Equal Stencil Func
GreaterEqualStencilFunc: 518
Always Stencil Func
AlwaysStencilFunc: 519
The stencilFunc method of the WebGL API sets the front and back function and reference value for stencil testing. Stenciling enables and disables drawing on a per-pixel basis. It is typically used in multipass rendering to achieve special effects.