diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-14 01:06:31 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-14 01:06:31 +0100 |
commit | 2b3df2889369aa22b6a1c782bb7fed658720c341 (patch) | |
tree | d915537080b26d2dea1de2e0330445f5075e652e /assetFactory/texturePacker.h | |
parent | Reduce texture size determined by packer if non-pot sizes are supported (diff) | |
download | ilt-2b3df2889369aa22b6a1c782bb7fed658720c341.tar.bz2 ilt-2b3df2889369aa22b6a1c782bb7fed658720c341.tar.xz ilt-2b3df2889369aa22b6a1c782bb7fed658720c341.zip |
Have texture packer search harder for a solution, stopping at the reported texture size limit
Diffstat (limited to 'assetFactory/texturePacker.h')
-rw-r--r-- | assetFactory/texturePacker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assetFactory/texturePacker.h b/assetFactory/texturePacker.h index ca0d67a..a1b270b 100644 --- a/assetFactory/texturePacker.h +++ b/assetFactory/texturePacker.h @@ -38,4 +38,5 @@ public: private: std::span<const Image> inputImages; std::vector<size_t> sortedIndexes; + unsigned int maxTextureSize; }; |