---
title: SCNRenderingAPI.openGLES2
framework: scenekit
role: symbol
role_heading: Case
path: scenekit/scnrenderingapi/opengles2
---

# SCNRenderingAPI.openGLES2

Use the OpenGL ES 2.0 API for SceneKit rendering in iOS.

## Declaration

```swift
case openGLES2
```

## Discussion

Discussion This option is available on all iOS devices supporting SceneKit. If you request the Metal rendering API for an SCNView object on a device that does not support Metal, SceneKit falls back to the OpenGL ES 2.0 API.

## See Also

### Constants

- [SCNRenderingAPI.metal](scenekit/scnrenderingapi/metal.md)
- [SCNRenderingAPI.openGLLegacy](scenekit/scnrenderingapi/opengllegacy.md)
- [SCNRenderingAPI.openGLCore32](scenekit/scnrenderingapi/openglcore32.md)
- [SCNRenderingAPI.openGLCore41](scenekit/scnrenderingapi/openglcore41.md)
