depth

 

Tag: depth
Parent tag: pass
Attributes:

  • clear (bool) – to clear or not to clear, that is the question! optional (default = true).
  • clearValue (float) – the value used to clear the depth buffer (default = 1.0);
  • test (bool) – enable/disable depth testing (default = true);
  • write (bool) – enable/disable depth buffer updates (default = true);

Child tags (none)

Example:

<depth clear=true clearValue=1.0 test=true write=true />