文档

Unity Engine


User Manual

Script Reference

Unity Engine


depthStencilFormat

The desired format of the depth/stencil buffer.
阅读时间1 分钟最后更新于 23 天前

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