⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

TexFormat.DepthStencil

static TexFormat DepthStencil

Description

24-bit depth + 8-bit stencil. Depth tracks how close to the camera each pixel is so near objects correctly occlude far ones. Stencil data can be used for clipping effects, deferred rendering, or shadow effects. A sensible default for most scenes!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!