开发者

Access to framebuffer Cocos2d/3d

I am trying to combine the String Augmented Reality Framework with cocos as the 3d renderer. In the setu开发者_运维知识库p I need to provide String with the OpenGL context and the framebuffer.

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

I get the context like this:

 [[[CCDirector sharedDirector] openGLView] context] 

But how to get the frameBuffer?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜