c++ - Must shader uniforms be uploaded once for every VAO? -


must shader uniforms (like projection matrix not change often) uploaded once per vertex array object? or bound variables have nothing active vao, , shader connected vertex object when drawn?

(e.g. shader stand own until vertex data sent via draw command, or somehow bound vao created?)

uniforms have nothing vaos; they're different data. uniforms program object state. vaos entirely separate objects.

as state, uniform data set program remain way until change it.


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -