NSOpenGLPixelFormat — Mac OS X 10.0
This class is used by NSOpenGLContext and NSOpenGLView to specify the attributes of an OpenGL pixel format, such as buffer size and type and rendering options.
NSOpenGLContext
NSOpenGLView
@interface NSOpenGLPixelFormat : NSObject <NSCoding>
// Initializers
- (id)initWithAttributes:(NSOpenGLPixelFormatAttribute*)attribs;
- (id)initWithData:(NSData*)attribs;
// Accessor Methods
- (void)setAttributes:(NSData*)attribs;
- (NSData*)attributes;
// Instance Methods
- (void)getValues:(long*)vals forAttribute:(NSOpenGLPixelFormatAttribute)attrib forVirtualScreen:(int)screen;
- (int)numberOfVirtualScreens;
// Methods Implementing NSCoding
- (void)encodeWithCoder:(NSCoder *)aCoder;
- (id)initWithCoder:(NSCoder *)aDecoder;