Agar

<-- Back to AG_Intro.3

DESCRIPTION

The Agar cocoa driver provides a direct interface to the Cocoa API. On the MacOS X platform, cocoa is usually selected as the default driver.

INHERITANCE HIERARCHY

AG_Driver(3)-> AG_DriverMw(3)-> AG_DriverCocoa.

EXAMPLES

AG_InitGraphics("cocoa");

OPTIONS

debugCapture GL_DEBUG_OUTPUT errors.
stereoRequest a stereoscopic visual.

SEE ALSO

AG_Driver(3), AG_GL(3), AG_InitGraphics(3), AG_Intro(3)

Lk https://www.opengl.org/ OpenGL

Lk https://developer.apple.com/ Apple

HISTORY

The cocoa driver first appeared in Agar 1.5.0. The "debug" option appeared in Agar 1.6.0.
Csoft.net ElectronTubeStore