Contents

CAOpenGLLayer

A layer that provides a layer suitable for rendering OpenGL content.

Declaration

class CAOpenGLLayer

Overview

To provide OpenGL content you subclass CAOpenGLLayer and override draw(inCGLContext:pixelFormat:forLayerTime:displayTime:). You can specify that the OpenGL content is static by setting the isAsynchronous property to false.

Topics

Determining Layer Properties

Drawing Layer Content

Managing Pixel Format

Managing the Rendering Context

See Also

Metal and OpenGL