Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


depthStore

Store Actions for Depth Buffer. It will override any actions set on RenderBuffer itself.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public RenderBufferStoreAction depthStore

Remarks

Please note that not all platforms have load/store actions, so this setting might be ignored at runtime. Generally mobile-oriented graphics APIs (OpenGL ES, Metal) take advantage of these settings.