Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

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.