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."
精彩评论