Instance Method

prepareOpenGL

Used by subclasses to initialize OpenGL state.

Declaration

- (void)prepareOpenGL;

Discussion

This method is called only once after the OpenGL context is made the current context. Subclasses that implement this method can use it to configure the Open GL state in preparation for drawing.

See Also

Managing the NSOpenGLContext

- clearGLContext

Releases the NSOpenGLContext object associated with the view.

Deprecated
openGLContext

The NSOpenGLContext object associated with the receiver.

Deprecated