cubemap support, work in progress.

This commit is contained in:
castano
2011-09-27 17:28:01 +00:00
parent 0b05255f90
commit 86b43e55c1
6 changed files with 277 additions and 23 deletions

View File

@ -78,6 +78,7 @@ namespace nvtt
} // nvtt namespace
namespace nv {
uint countMipmaps(uint w);
uint countMipmaps(uint w, uint h, uint d);
uint computeImageSize(uint w, uint h, uint d, uint bitCount, uint alignmentInBytes, nvtt::Format format);
void getTargetExtent(int & w, int & h, int & d, int maxExtent, nvtt::RoundMode roundMode, nvtt::TextureType textureType);