开发者

Access to framebuffer Cocos2d/3d

开发者 https://www.devze.com 2023-03-29 06:10 出处:网络
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.

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

精彩评论

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