Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/98.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS和OpenGLES 2.0中是否提供带sampler3D纹理的texture3D查找_Ios_Iphone_Opengl Es_Shader_Opengl Es 2.0 - Fatal编程技术网

iOS和OpenGLES 2.0中是否提供带sampler3D纹理的texture3D查找

iOS和OpenGLES 2.0中是否提供带sampler3D纹理的texture3D查找,ios,iphone,opengl-es,shader,opengl-es-2.0,Ios,Iphone,Opengl Es,Shader,Opengl Es 2.0,是否可以在运行OpenGLES 2.0和iOS的片段着色器代码中调用texture3D(sampler3DTexture,坐标)?我知道在OpenGLES中没有明确提到sampler3D纹理,但它们包含在Kronos的OpenGLES 2.0头文件中 我正在尝试将3D纹理传递到着色器中,并让它在iOS和OpenGLES 2.0中执行3D纹理查找。任何细节?是的,如果您的GLES实现报告支持OES\u texture\u 3D扩展,则GLSLES中的texture3D可用。阅读此处:它说明了GLS

是否可以在运行OpenGLES 2.0和iOS的片段着色器代码中调用texture3D(sampler3DTexture,坐标)?我知道在OpenGLES中没有明确提到sampler3D纹理,但它们包含在Kronos的OpenGLES 2.0头文件中


我正在尝试将3D纹理传递到着色器中,并让它在iOS和OpenGLES 2.0中执行3D纹理查找。任何细节?

是的,如果您的GLES实现报告支持OES\u texture\u 3D扩展,则GLSLES中的texture3D可用。阅读此处:它说明了GLSLES(texture3D和其他)中有哪些新功能可用。

它在OpenGL ES 2.0规范中不可用。它在3.0版中可用。

一个类似的问题:我手头上的列表可能不是完全最新的,但我上次检查时,iOS设备没有显示OES\u texture\u 3D。