adbrown85 / gloop

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

Program attributes and uniforms should return maps #24

Closed adbrown85 closed 12 years ago

adbrown85 commented 12 years ago

Currently attributes and uniforms in Program return a vector of Attribute and Uniform structures, respectively. Often a user will want to query them by name, however, so it would be better if they returned a map instead. The user might want to know the type/size, or maybe whether the variable got compiled out.