i do some quick math and i think it should work
this is an example for a 1024x1024x16
1024 x 1024 = 1.048.576 total pixels
1.048.576 x 16 bits in each pixel = 16.777.216 total bits in the image
16.777.216 bits / 8 bits in every byte = 2.097.152 bytes
2.097.152 bytes x 1024 bytes = 2048 kilobytes
2048 kilobytes x 1024 bytes = excactly 2 megabyte
this example only work for uncompressed data
but compressed data solutions like DXT are rarely used in non-comercial engines/frameworks
Bookmarks