Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


supportsDepthAttachmentAsInputAttachment

Returns true if depth can be used as input attachment.
Read time 1 minuteLast updated 10 days 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.