O'Reilly logo

OpenGL® SuperBible: Comprehensive Tutorial and Reference, Sixth Edition by Richard S Wright, Graham Sellers, Nicholas Haemel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. The SuperBible Tools

This book’s source code not only includes most of the examples from the book in compilable form for many platforms, but it also includes a number of tools that were used to create the .SBM and .KTX files used by those examples. You can use these tools to create and manipulate .SBM and .KTX files to use in your own applications.

The ktxtool Utility

The ktxtool program is a utility for processing .KTX files. Its usage is as follows:

ktxtool -i <inputfile> [-i <inputfile>*] [-o output file] {options}

Input files are sent to ktxtool by specifying them with the -i option. More than one input file can be specified by simply including multiple -i options.

The --info option prints information about the input files as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required