stencil

 

Tag: stencil
Parent tag: pass
Attributes:

  • clear (bool) – enable/disable stencil clear (default = true).
  • clearValue (unsigned byte) – the value used to clear the stencil buffer (default = 0);
  • test (bool) – enable/disable stencil testing (default = true);

Child tags:

Example:

<stencil clear=true clearValue=0 test=true >
	<stencilFunc  func=ALWAYS ref=0 mask=255 >
	<stencilOp sfail=KEEP dfail=KEEP dpass=KEEP >
</stencil >