elyctech / web-gill

Gill is a WebGL-based rendering utility.
MIT License
0 stars 0 forks source link

Add Missing Value Detection When Getting Attribute and Uniform Data #10

Open dawsonc623 opened 7 years ago

dawsonc623 commented 7 years ago

Currently the Model implementation assumes attribute and uniform data exists when requested through getAttributeData and getUniformData, respectively. If the user requests an attribute or uniform that does not exist on the Model object, it will cause an unexpected exception instead of a clear one communicating the real issue.