Some progress with full DXT1a support.

Move quantization settings to compression options.
This commit is contained in:
castano
2008-01-07 07:28:00 +00:00
parent f3a73e3de5
commit 2903886498
8 changed files with 96 additions and 149 deletions

View File

@ -100,6 +100,8 @@ namespace nvtt
// Set color mask to describe the RGB/RGBA format.
NVTT_API void setPixelFormat(unsigned int bitcount, unsigned int rmask, unsigned int gmask, unsigned int bmask, unsigned int amask);
NVTT_API void setQuantization(bool colorDithering, bool alphaDithering, bool binaryAlpha, int alphaThreshold/*= 127*/);
//private:
struct Private;
Private & m;