Returns the list of pixel format attributes used to create the OpenGL context.
- FxPlug 3.1+
NSNumbers, each of which is a
CGLPixel value. See
Open for the
This method allows a plug-in to create OpenGL contexts that are compatible with those created by the host application.
A plug-in typically puts the values for each element of the returned array into an C-style zero-terminated array of
CGPixel and passes a pointer to that array to CGLChoosePixelFormat. It then passes the CGLPixelFormatObj returned by that function to CGLCreateContext and then to CGLDestroyPixelFormat.