Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


protectGraphicsMemory

Protect graphics memory.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. protectGraphicsMemory is deprecated. This field has no effect.
public static bool protectGraphicsMemory { get; set; }

Remarks

When enabled, graphics memory will be protected from external reading, if supported by the device and platform. This will ensure users can not take screenshots for instance. On Android, this requires a device that supports the EGL_PROTECTED_CONTENT_EXT extension.