May 2003
Intermediate to advanced
566 pages
27h 29m
English
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.
|
|
@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; |
Read now
Unlock full access