I am wondering if glUniformXXv is blocking until the data referenced by the pointer is copied to the GPU. In other words, can this code cause problems if the GPU is busy?
int i=5;
glUniform1iv(location,1,&i);
i = 6;
Will glUniform1fv cause 6 to send if the GPU is busy?
source
share