Possseidon / dang-lib

A C++ library, providing a variety of useful classes focused around game developement.
3 stars 1 forks source link

Decouple TextureAtlas and Texture2DArray. #39

Closed Possseidon closed 3 years ago

Possseidon commented 3 years ago

Currently TextureAtlas has a hard requirement on Texture2DArray (and an OpenGL context because of max_array_texture_layers and max_3d_texture_size). The generation of the tiles should not have this requirement. This will also improve testability.

Idea on how to split this dependency out: