3

String Augmented Reality Framework と cocos を 3D レンダラーとして組み合わせようとしています。セットアップでは、文字列に OpenGL コンテキストとフレームバッファを提供する必要があります。

 stringOGL = [[StringOGL alloc] initWithDelegate: self context: myEAGLContext frameBuffer: myFrameBuffer leftHanded: NO]; 

次のようなコンテキストを取得します。

 [[[CCDirector sharedDirector] openGLView] context] 

しかし、frameBuffer を取得する方法は?

4

0 に答える 0