Documentation

Unity Engine

Unity Engine

PlatformDefault

Use the target platform defaults. The default sampler precision is half precision on mobile targets and full precision elsewhere. Also, shader type half is defined as min16float on mobile targets and float elsewhere.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
PlatformDefault = 0