adbrown85 / gloop

Lightweight C++ wrapper for OpenGL
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Variable includes location #29

Closed adbrown85 closed 12 years ago

adbrown85 commented 12 years ago

Currently Variable includes name, size, and type. It would be useful if it also included its location in the program. Since the index used in glGetActiveAttrib and glGetActiveUniform may not necessarily be its location, we will need to call glGetAttribLocation and glGetUniformLocation when we're making them.