mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 05:38:31 +09:00
[Feat] (MG_Util|MG_State/TextureState): Add TexturePixelDataType::HalfFloat and TexturePixelDataType::UnsignedInt248. Handle TexturePixelDataType::Float32UnsignedInt248Rev.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user