diff --git a/libs/gfx/include/psemek/gfx/texture_atlas.hpp b/libs/gfx/include/psemek/gfx/texture_atlas.hpp index e9832a1b..b46d81b4 100644 --- a/libs/gfx/include/psemek/gfx/texture_atlas.hpp +++ b/libs/gfx/include/psemek/gfx/texture_atlas.hpp @@ -19,6 +19,8 @@ namespace psemek::gfx texture_2d & texture() { return texture_; } texture_2d const & texture() const { return texture_; } + util::array const & pixmap() const { return atlas_.array(); } + std::pair insert(Key const & key, util::array const & data); texture_view find(Key const & key) const; texture_view at(Key const & key) const;