CalcTextureSize3D

Calculates the amount of memory used for a texture.