macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

createTexture:fromView:internalFormat:

新しいテクスチャーを作ります
-(void)createTexture:(unsigned long)target:
                fromView:(NSView *)view :
                internalFormat:(unsigned long) format :

解説

新しいテクスチャーを作ります。

返り値

( void )

なし

引数

( unsigned long )target
( NSView * )view 
( unsigned long ) format 

フレームワーク

ApplicationKit

クラス

NSOpenGLContext

Instance Methods

使用可能

10.2

参照

例文

[glCon  createTexture:10 fromView:[[sender window] contentView] internalFormat:10 ];