Up
Authors
- Frederic De Jaeger
-
Context for openGL drawing
Copyright: (C) 2002 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSOpenGLView.h
Availability: OpenStep
Description forthcoming.
Instance Variables
Method summary
+ (
NSOpenGLPixelFormat*)
defaultPixelFormat;
Availability: OpenStep
return a standard NSOpenGLPixelFormat you can pass
to the initWithFrame: pixelFormat: method
- (void)
clearGLContext;
Availability: OpenStep
detach from the current context. You should call it
before releasing this object.
- (id)
initWithFrame: (
NSRect)frameRect
pixelFormat: (
NSOpenGLPixelFormat*)format;
Availability: OpenStep
default initializer. Can be passed [NSOpenGLContext
defaultPixelFormat] as second argument
- (
NSOpenGLContext*)
openGLContext;
Availability: OpenStep
return the current gl context associated with this
view
- (void)
prepareOpenGL;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (void)
reshape;
Availability: OpenStep
Description forthcoming.
- (void)
setOpenGLContext: (
NSOpenGLContext*)context;
Availability: OpenStep
Description forthcoming.
- (void)
setPixelFormat: (
NSOpenGLPixelFormat*)pixelFormat;
Availability: OpenStep
Description forthcoming.
- (void)
update;
Availability: OpenStep
Description forthcoming.
Instance Variables for NSOpenGLView Class
@protected NSOpenGLContext* glcontext;
Availability: OpenStep
Description forthcoming.
@protected NSOpenGLPixelFormat* pixel_format;
Availability: OpenStep
Description forthcoming.
@protected BOOL prepared;
Availability: OpenStep
Description forthcoming.
Up