Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


depthStencilFormat

The desired format of the depth/stencil buffer.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public GraphicsFormat depthStencilFormat { readonly get; set; }

Remarks

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