---
title: context
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnscenerenderer/context
---

# context

The OpenGL rendering context that SceneKit uses for rendering the scene.

## Declaration

```swift
var context: UnsafeMutableRawPointer? { get }
```

## Discussion

Discussion In macOS, the value of this property is a Core OpenGL cglContextObj object. In iOS, the value of this property is an EAGLContext object.
