Instance Property

context

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

Required.

Declaration

@property(nonatomic, readonly) void *context;

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.