本文介绍了哪些GLSL ES扩展在各种iOS设备上可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找所有iOS设备上可用的所有扩展(以及哪些设备上可用的扩展)的列表.尽管进行了大量搜索,但我在Apple文档中找不到正确的页面,但是我敢肯定它在某个地方.有指针吗?
I'm looking for a list of all extensions available on any iOS devices (and which are available on which device). I haven't found the right page in the apple docs despite a lot of searching, but I'm sure it's there somewhere. Any pointers?
推荐答案
此代码应打印出所有扩展名:
This code should print out all extensions:
NSString *extensionString = [NSString stringWithUTF8String:(char *)glGetString(GL_EXTENSIONS)];
NSArray *extensions = [extensionString componentsSeparatedByCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
for (NSString *oneExtension in extensions)
NSLog(@"%@", oneExtension);
来源: http://iphonedevelopment.blogspot.com/2008/12/opengl-es-extensions-on-iphone.html?m=1
这篇关于哪些GLSL ES扩展在各种iOS设备上可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!