currentContext
現在のコンテキストを返します
解説
現在のコンテキストを返します。なければnilを返します。
引数
フレームワーク
ApplicationKit
クラス
NSOpenGLContext
Class Methods
使用可能
10.0
参照
+ clearCurrentContext
- currentContext
- makeCurrentContext
例文
NSOpenGLContext *glCon = [[NSOpenGLContext alloc] initWithFormat:pixFmt shareContext:[NSOpenGLContext currentContext]];