[Feat] (MG_Util|MG_State/TextureState): Add TexturePixelDataType::HalfFloat and TexturePixelDataType::UnsignedInt248. Handle TexturePixelDataType::Float32UnsignedInt248Rev.

This commit is contained in:
BZLZHH
2026-01-01 13:17:25 +08:00
parent 21dcbc9e52
commit b68d2859e8
5 changed files with 42 additions and 24 deletions
@@ -246,6 +246,10 @@ namespace MobileGL {
return GL_INT;
case TexturePixelDataType::Float:
return GL_FLOAT;
case TexturePixelDataType::HalfFloat:
return GL_HALF_FLOAT;
case TexturePixelDataType::UnsignedInt248:
return GL_UNSIGNED_INT_24_8;
case TexturePixelDataType::UnsignedByte332:
return GL_UNSIGNED_BYTE_3_3_2;
case TexturePixelDataType::UnsignedByte233Rev: