[Refactor] (MG_State/Texture): decouple texture object and mipmap storage

This commit is contained in:
2025-12-06 22:24:30 +08:00
parent 6293f3f0ab
commit ab6d9f60e7
9 changed files with 173 additions and 98 deletions
@@ -18,7 +18,7 @@ namespace MobileGL {
};
// Don't tinker with order in this enum (especially CubeMap faces),
// it is used in TextureStorage
// it is used in MipmapUploadTargetArray
enum class TextureUploadTarget {
Texture1D,
Texture2D,