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

SKSettings.depthMode

DepthMode depthMode

Description

What kind of depth buffer should StereoKit use? A fast one, a detailed one, one that uses stencils? By default StereoKit will let the XR runtime choose, which typically results in fast, 16bit depth buffers for battery powered devices, and detailed 32bit depth buffers on PCs. If the requested mode is not available, StereoKit will fall back to the XR runtime’s preference.




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