This add a texture (unit) manager that keeps track of the texture units used in the program. Currently, all textures are always bound (->bindActive(...) after creating the texture). This works for now, as we have ~21 textures, my mobile AMD supports 32.
This add a texture (unit) manager that keeps track of the texture units used in the program. Currently, all textures are always bound (->bindActive(...) after creating the texture). This works for now, as we have ~21 textures, my mobile AMD supports 32.