js的 dumpCachedTextureInfo 函数
totalBytes += selTexture.getPixelsWide() * selTexture.getPixelsHigh() * 4;
计算时直接算做每个像素4字节, jsb还支持4444和565的.
还有creator支持不同的纹理加载方式吗?
js的 dumpCachedTextureInfo 函数
totalBytes += selTexture.getPixelsWide() * selTexture.getPixelsHigh() * 4;
计算时直接算做每个像素4字节, jsb还支持4444和565的.
还有creator支持不同的纹理加载方式吗?