Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RenderTextureDescriptor.depthStencilFormat

public Experimental.Rendering.GraphicsFormat depthStencilFormat;

Description

The desired format of the depth/stencil buffer.

A RenderTexture can use a different but compatible format if the format is not supported on this platform or graphics API. See Also: RenderTexture.depthStencilFormat

Additional resources: RenderTexture.depthStencilFormat, GraphicsFormatUtility.GetDepthStencilFormat, GraphicsFormat.