stackgl / gl-shader-core

Core implementation of gl-shader without parser dependencies
MIT License
22 stars 3 forks source link

Cache shader object #7

Open mikolalysenko opened 10 years ago

mikolalysenko commented 10 years ago

It might be reasonable to cache shader objects and program objects in a weakmap.

mikolalysenko commented 10 years ago

https://github.com/stackgl/gl-shader-core/pull/11