getValues:forParameter:
指定したパラメータの値を取得します
-(void)getValues:(long *)vals: forParameter:(NSOpenGLContextParameter)param:
解説
指定したパラメータの値を取得します。
【NSOpenGLContextParameter】
● NSOpenGLCPSwapRectangle
● NSOpenGLCPSwapRectangleEnable
● NSOpenGLCPRasterizationEnable
● NSOpenGLCPSwapInterval
● NSOpenGLCPSurfaceOrder
● NSOpenGLCPSurfaceOpacity
● NSOpenGLCPStateValidation
返り値
( void )
なし
引数
( long * )vals
( NSOpenGLContextParameter )param
パラメータ
フレームワーク
ApplicationKit
クラス
NSOpenGLContext
Instance Methods
使用可能
10.0
参照
- setValues:forParameter:
例文
[glCon setValues:&setVal forParameter:NSOpenGLCPSwapRectangle]; [glCon getValues:&vals forParameter:NSOpenGLCPSwapRectangle];