depthStencil

 

Tag: depthStencil
Parent tag: renderTarget
Attributes:

  • name (string) – the name for the texture depth-stencil attachment.

Child tags (none)

Using this tag in a render target results in the creation of a depth-stencil texture with an internal format DEPTH32F_STENCIL8 and the render target parameters. The texture is used as the depth-stencil attachment in the render target and can later be used in a material.

Example:

<depthStencil name="depthPlusStencil"  />