New answers tagged


While OpenGL's organic growth as an API has led to some inconsistencies regarding the naming of things, the API here means what it says. location means location, and binding means binding. As such, a function named glGetUniformLocation should be expected to return the location of the uniform, not the binding. When introspecting GLSL, there are several ...

Top 50 recent answers are included