哪些GLSL ES扩展在各种iOS设备上可用? [英] Which GLSL ES extensions are available on various iOS devices?

查看:96
本文介绍了哪些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设备上可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆