How to export KTX2 by NVTT3 SDK

Hi, Ihave installed the latest Texture tools for windows
The GUI tool “Textures Exporter” can export KTX2 format.
But the NVTT SDK cannot do exporting KTX2 format.
I see there is a Container_KTX in the nvtt.h but was just commented.
Why?

Thanks.

Hi ginokuo1974!

This is something I’m hoping to fix in the future - currently the KTX I/O code is in the Exporter layer, rather than in NVTT itself. However, you can find a copy of the code we use to read and write KTX files in the nvpro-samples core library here:

https://github.com/nvpro-samples/nvpro_core/blob/master/fileformats/nv_ktx.inl

Hope this helps!

–Neil