Are glGetUniformLocation and glGetAttribLocation time consuming?
Which way is better?
- Call
glGetAttribLocationorglGetUniformLocationevery time I need it ? - Store locations in varables and use them when needed ?
Are glGetUniformLocation and glGetAttribLocation time consuming?
Which way is better?
glGetAttribLocation or glGetUniformLocation every time I need it ?