Documentation

Unity Engine

Download Unity

Unity Engine

supportsDepthAttachmentAsInputAttachment

Returns true if depth can be used as input attachment.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool supportsDepthAttachmentAsInputAttachment { get; }

Remarks

Some platforms support read-only depth attachment to be used as input attachment, allowing shaders to read from on-tile fast memory through frame buffer fetch.