CGL Prototypes

Initialization

Managing Pixel Format Objects:

CGLError CGLChoosePixelFormat(const CGLPixelFormatAttribute *attribs,                         CGLPixelFormatObj *pix,                         GLint *npix);

CGLError CGLDescribePixelFormat(CGLPixelFormatObj pix,                         GLint pix num,                         CGLPixelFormatAttribute attrib,                         GLintp *value);

CGLPixelFormatObj CGLGetPixelFormat(CGLContextObj ctx);

CGLPixelFormatObj CGLRetainPixelFormat(CGLPixelFormatObj pix);

void CGLReleasePixelFormat(CGLPixelFormatObj pix);

GLuint CGLGetPixelFormatRetainCount(CGLPixelFormatObj pix);

CGLError CGLDestroyPixelFormat(CGLPixelFormatObj pix);

Controlling Rendering

Managing rendering contexts:

CGLError ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.