defaultPixelFormat
デフォルトのNSOpenGLPixelFormatを返します
解説
デフォルトのNSOpenGLPixelFormatを返します。
返り値
( NSOpenGLPixelFormat* )
NSOpenGLピクセルフォーマット
引数
フレームワーク
ApplicationKit
クラス
NSOpenGLView
Class Methods
使用可能
10.0
参照
- pixelFormat
- setPixelFormat:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSOpenGLView* glView = [[NSOpenGLView alloc] initWithFrame:NSMakeRect(0,0,100,100) pixelFormat:[NSOpenGLView defaultPixelFormat]]; } @end