LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

RenderTextureDescriptor.depthBufferBits

public int depthBufferBits;

Description

The precision of the render texture's depth buffer in bits (0, 16, 24/32 are supported).

See RenderTexture.depth.