March 2013
Intermediate to advanced
984 pages
26h 18m
English
Usually, renderers are selected and managed automatically for your by Mac OS X; however, if you need or want to explicitly control the renderer for your application, do the following: first, determine the available renderers by calling CGLQueryRendererInfo(), which returns an opaque data structure—CGLRendererInfoObj—that you need to use to query the characteristics of each renderer. Properties of a renderer can be determined by calling CGLDescribeRenderer(). Once you’ve completed all of your system queries, you need to release the returned CGLRendererInfoObj by calling CGLDestroyRendererInfo().
Once you’ve selected the appropriate renderer, you next specify the buffer attributes required for your application. Specify the attributes ...