---
title: SCNRenderingAPI.openGLLegacy
framework: scenekit
role: symbol
role_heading: Case
path: scenekit/scnrenderingapi/opengllegacy
---

# SCNRenderingAPI.openGLLegacy

Use the Legacy OpenGL API for SceneKit rendering in macOS.

## Declaration

```swift
case openGLLegacy
```

## Discussion

Discussion This option is available on all macOS systems supporting SceneKit. If you request the Metal rendering API for an SCNView object on a system that does not support Metal, SceneKit falls back to the Legacy OpenGL API.

## See Also

### Constants

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