开发者

"glUniform1fARB"?

开发者 https://www.devze.com 2023-02-23 02:32 出处:网络
What dose glUniform1fARB do? 开发者_C百科is there any detailed online reference materials? What about this google (OpenGL reference) result?

What dose glUniform1fARB do?

开发者_C百科is there any detailed online reference materials?


What about this google (OpenGL reference) result?

Note that the base name for such methods is glUniform, so look for that. 1f means one float parameter, ARB means the method is common but not part of core OpenGL as of some version. I'm not sure in which exact version the function was promoted, but I assume it was something around 3.0, and thus you'd now just use glUniform1f.

Edit: The spec sais promotion happend in 2.0: "glUniform is available only if the GL version is 2.0 or greater."

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号