Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TargetGlesGraphics.Automatic

Description

Automatically select the graphics API level.

Select the best graphics API based on the device capabilities. In most cases this means first attempting to create OpenGL ES 3.0 context and on failure automatically fall back to OpenGL 2.0. The developer should make sure the application works in both OpenGL ES 2.0 and 3.0 modes.