简体   繁体   English

OpenGL ES 2.0着色器语言是否支持modf()?

[英]Is modf() supported in OpenGL ES 2.0 Shader Language?

The OpenGL ES specification page about the GLSL function modf() indicates that it should be supported by version 3.0, and not by version 1.0. 关于GLSL函数modf()OpenGL ES规范页面表明版本3.0应该支持它,而不是版本1.0。
What about version 2.0? 版本2.0怎么样? Does it support it? 它支持它吗?

There is no version 2.0 of the Shading language accompanying any of the GLSL ES specifications. 任何GLSL ES规范都没有版本2.0的着色语言。 There is only 1.0x and 3.x. 只有1.0x和3.x. If your question then is, "is modf supported in versions lower than 3.0", it is not supported. 如果您的问题是“在低于3.0的版本中支持modf”,则不支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM