Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 CCDirector 中设置像素格式,但找不到方法。
在我看来,我的 cocos2d 版本没有那个方法??
奇怪的
在您的应用程序委托中,查找此行:
EAGLView *glView = [EAGLView viewWithFrame:[window bounds] pixelFormat:kEAGLColorFormatRGB565 // kEAGLColorFormatRGBA8 depthFormat:0 // GL_DEPTH_COMPONENT16_OES ];
或搜索
EAGLView *glView
你会发现它..