Classes

NSActionCell
NSAlert
NSApplication
NSArrayController
NSBezierPath
NSBitmapImageRep
NSBox
NSBrowser
NSBrowserCell
NSButton
NSButtonCell
NSCachedImageRep
NSCell
NSClipView
NSCollectionView
NSCollectionViewItem
NSColor
NSColorList
NSColorPanel
NSColorPicker
NSColorWell
NSComboBox
NSComboBoxCell
NSControl
NSController
NSCursor
NSCustomImageRep
NSDataLink
NSDataLinkManager
NSDataLinkPanel
NSDatePicker
NSDatePickerCell
NSDocument
NSDocumentController
NSDrawer
NSDrawerDelegate
NSEPSImageRep
NSEvent
NSFont
NSFontDescriptor
NSFontManager
NSFontPanel
NSForm
NSFormCell
NSGraphicsContext
NSHelpManager
NSHelpPanel
NSImage
NSImageCell
NSImageRep
NSImageView
NSInputServer
NSMatrix
NSMenu
NSMenuItem
NSMenuItemCell
NSMenuView
NSMovie
NSMovieView
NSMutableParagraphStyle
NSNib
NSObjectController
NSOpenGLContext
NSOpenGLPixelFormat
NSOpenGLView
NSOpenPanel
NSOutlineView
NSPageLayout
NSPanel
NSParagraphStyle
NSPasteboard
NSPasteboardItem
NSPopUpButton
NSPopUpButtonCell
NSPredicateEditor
NSPredicateEditorRowTemplate
NSPrintInfo
NSPrintOperation
NSPrintPanel
NSPrinter
NSProgressIndicator
NSResponder
NSRuleEditor
NSRulerMarker
NSSavePanel
NSScreen
NSScrollView
NSScroller
NSSecureTextField
NSSecureTextFieldCell
NSSelection
NSSharingService
NSSharingServicePicker
NSSlider
NSSliderCell
NSSound
NSSpeechSynthesizer
NSSpellChecker
NSSplitView
NSStepper
NSStepperCell
NSTabView
NSTabViewItem
NSTableColumn
NSTableHeaderCell
NSTableHeaderView
NSTableView
NSText
NSTextAttachment
NSTextAttachmentCell
NSTextContainer
NSTextField
NSTextFieldCell
NSTextStorage
NSTextTab
NSTextView
NSTokenField
NSTokenFieldCell
NSUserDefaultsController
NSView
NSWindow
NSWindowController
NSWorkspace

Protocols

<GSImageDelegateProtocol>
<NSAlertDelegate>
<NSApplicationDelegate>
<NSBrowserDelegate>
<NSCollectionViewDataSource>
<NSCollectionViewDelegate>
<NSCollectionViewElement>
<NSCollectionViewPrefetching>
<NSComboBoxCellDataSource>
<NSComboBoxDataSource>
<NSComboBoxDelegate>
<NSControlTextEditingDelegate>
<NSInputServerMouseTracker>
<NSInputServiceProvider>
<NSMatrixDelegate>
<NSMenuDelegate>
<NSMenuItem>
<NSMenuValidation>
<NSMenuView>
<NSOpenSavePanelDelegate>
<NSOutlineViewDataSource>
<NSOutlineViewDelegate>
<NSPasteboardItemDataProvider>
<NSPasteboardReading>
<NSPasteboardWriting>
<NSPrintPanelAccessorizing>
<NSRuleEditorDelegate>
<NSSharingServiceDelegate>
<NSSharingServicePickerDelegate>
<NSSpeechSynthesizerDelegate>
<NSSplitViewDelegate>
<NSTabViewDelegate>
<NSTableViewDataSource>
<NSTableViewDelegate>
<NSTextAttachmentCell>
<NSTextFieldDelegate>
<NSTextViewDelegate>
<NSWindowDelegate>
(NSAlertDelegate)
(NSApplicationDelegate)
(NSBrowserDelegate)
(NSComboBoxCellDataSource)
(NSControlDelegate)
(NSControlTextEditingDelegate)
(NSDataLinkManagerDelegate)
(NSDataPickerCellDelegate)
(NSEditor)
(NSEditorRegistration)
(NSFontManagerDelegate)
(NSFontPanelValidation)
(NSMenuActionResponder)
(NSMenuDelegate)
(NSOpenSavePanelDelegate)
(NSPasteboardItemDataProvider)
(NSPasteboardOwner)
(NSPasteboardReading)
(NSPasteboardWriting)
(NSPlaceholder)
(NSSavePanelDelegate)
(NSServicesRequests)
(NSSoundDelegate)
(NSSpeechSynthesizerDelegate)
(NSSplitViewDelegate)
(NSTableDataSource)
(NSTableViewDelegate)
(NSTextDelegate)
(NSTextStorageDelegate)
(NSTextViewDelegate)
(NSWindowDelegate)
(NSWindowDelegateAdditions)

Constants

Functions

Macros

Types

Variables

Up

NSOpenGLView.m

Authors

Frederic De Jaeger

Date: Generated at 2025-07-12 14:18:56 +0000

Context for openGL drawing

Copyright: (C) 2002 Free Software Foundation, Inc.

Software documentation for the NSOpenGLView class

NSOpenGLView : NSView

Declared in:
AppKit/NSOpenGLView.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


defaultPixelFormat 

+ (NSOpenGLPixelFormat*) defaultPixelFormat;
Availability: OpenStep

return a standard NSOpenGLPixelFormat you can pass to the initWithFrame: pixelFormat: method

clearGLContext 

- (void) clearGLContext;
Availability: OpenStep

detach from the current context. You should call it before releasing this object.

initWithFrame: pixelFormat: 

- (id) initWithFrame: (NSRect)frameRect pixelFormat: (NSOpenGLPixelFormat*)format;
Availability: OpenStep

default initializer. Can be passed [NSOpenGLView defaultPixelFormat] as second argument

openGLContext 

- (NSOpenGLContext*) openGLContext;
Availability: OpenStep

return the current gl context associated with this view

pixelFormat 

- (NSOpenGLPixelFormat*) pixelFormat;
Availability: OpenStep

Description forthcoming.

prepareOpenGL 

- (void) prepareOpenGL;
Availability: MacOS-X 10.3.0

Description forthcoming.

reshape 

- (void) reshape;
Availability: OpenStep

Description forthcoming.

setOpenGLContext: 

- (void) setOpenGLContext: (NSOpenGLContext*)context;
Availability: OpenStep

Description forthcoming.

setPixelFormat: 

- (void) setPixelFormat: (NSOpenGLPixelFormat*)pixelFormat;
Availability: OpenStep

Description forthcoming.

update 

- (void) update;
Availability: OpenStep

Description forthcoming.



Instance Variables for NSOpenGLView Class

glcontext

@protected NSOpenGLContext* glcontext;
Availability: OpenStep

Description forthcoming.

pixel_format

@protected NSOpenGLPixelFormat* pixel_format;
Availability: OpenStep

Description forthcoming.

prepared

@protected BOOL prepared;
Availability: OpenStep

Description forthcoming.





Up