openframeworks/openFrameworks — pull request #3233 by Ahbee (2014-09-13 20:06:37+00:00)
Title: added ColorData struct to ofMaterial

Added `ofMaterial::ColorData` and `ofMaterial::getColorData`. Makes it easier to pass color data to a Ubo. I named the the class 'ColorData' instead of 'Data' because ofMaterial might decide to use textures one day. Closes #3230