[Feat] (MG_Util/Types): Add ComponentSizes.

This commit is contained in:
BZLZHH
2025-12-14 11:15:27 +08:00
parent 711e427b76
commit 100d5bca99
3 changed files with 196 additions and 0 deletions
@@ -14,5 +14,6 @@ namespace MobileGL {
SizeT GetInputBytesPerPixel(TextureInternalFormat internalformat, TexturePixelDataType type);
SizeT CalculateInputTextureImageSize(TextureInternalFormat internalFormat, TexturePixelDataType pixelDataType,
IntVec3 size);
ComponentSizes GetComponentSizesForInternalFormat(TextureInternalFormat internal);
} // namespace MG_Util
} // namespace MobileGL