KTX (Khronos Texture) is a lightweight file format for OpenGL textures, designed around how textures are loaded in OpenGL.
C C++ CMake Makefile Python Objective-C Other
Latest commit 3b3e794 Aug 26, 2016 @msc- msc- Fix logic error - issue #25.
Permalink
Failed to load latest commit information.
build Regenerate from latest gyp and remove unneeded signing-related lines. Apr 12, 2016
gyp_include Add note that building shared libktx not currently supported on Windows. Apr 12, 2016
include Correct the current change list. Mar 31, 2016
lib Fix logic error - issue #25. Aug 26, 2016
other_include Update SDL libraries and include files from latest pull from libsdl.org. Nov 28, 2015
other_lib Update debug version with one not compiled -O3. Jan 23, 2016
testimages Add original source of no-npot image. Jan 15, 2016
tests Merge changes to build shared libktx from branch 'issue-18-linux' of h… Apr 12, 2016
tools Change _snprintf to snprintf now MSVS supports it. Apr 29, 2016
.codedocs Include copy of etcdec.cxx license text instead of pulling when buldi… May 12, 2016
.gitattributes Move keyword exander config to repo. Apr 4, 2016
.gitconfig Move keyword exander config to repo. Apr 4, 2016
.gitignore Ignore files generated by cmake. Feb 5, 2016
.travis.yml Specify to use Xcode 7.3. Apr 7, 2016
BUILDING.md Note that modified gyp is needed for make projects. Mar 17, 2016
CONTRIBUTING.md Move kwexpansion notice to README; fix bad link. May 12, 2016
GNUmakefile Enable cmake generation for linux. Feb 5, 2016
LICENSE.md Include copy of etcdec.cxx license text instead of pulling when buldi… May 12, 2016
README.md Merge CodeDocs changes from incoming. May 20, 2016
TODO.md Solicit volunteers. Apr 4, 2016
appveyor.yml Fix appveyor build issue when GIT_TRACE=1. Apr 9, 2016
expand_kw Move keyword exander config to repo. Apr 4, 2016
install-gitconfig.bat Move keyword exander config to repo. Apr 4, 2016
install-gitconfig.sh Move keyword exander config to repo. Apr 4, 2016
ktxDoxy Change doc to treeview and include only the public API. Apr 23, 2016
ktxtests.gyp Squashed commit of the following: Feb 6, 2016
ktxtools.gyp Squashed commit of the following: Feb 6, 2016
libktx.gyp Squashed commit of the following: Feb 6, 2016
setup_env.bat Add .bat file to initialize environment for actions. Jan 21, 2016

README.md

logo

The Official Khronos KTX Repository

master incoming
GNU/Linux, iOS & OSX Build Status Build Status
Windows Build status Build status
Documentation Build status -

This is the offical home of the source code for the Khronos KTX library and tools.

See the Doxygen generated live documentation for API usage information. Because CodeDocs does not yet support multiple branches, only master/HEAD is available.

See CONTRIBUTING for information about contributing.

See LICENSE for information about licensing.

See BUILDING for information about building the code.

More information about KTX and links to tools that support it can be found on the KTX page of the OpenGL ES SDK on khronos.org.

If you need help with using the KTX library or KTX tools, please use the KTX forum. To report problems use GitHub issues.

IMPORTANT: you must install the Git LFS command line extension in order to fully checkout this repository after cloning. You need at least version 1.1.

A few files have $Date$ keywords. If you care about having the proper dates shown or will be generating the documentation or preparing distribution archives, you must follow the instructions below.

$Date$ keyword expansion

$Date$ keywords are expanded via a smudge & clean filter. To install the filter, issue the following commands in the root of your clone.

On Unix (Linux, Mac OS X, etc.) platforms and Windows using Git for Windows' Git Bash or Cygwin's bash terminal:

./install-gitconfig.sh
rm TODO.md include/ktx.h tools/toktx/toktx.cpp
git checkout TODO.md include/ktx.h tools/toktx/toktx.cpp

On Windows with the Command Prompt (requires git.exe in a directory on your %PATH%):

install-gitconfig.bat
del TODO.md include/ktx.h tools/toktx/toktx.cpp
git checkout TODO.md include/ktx.h tools/toktx/toktx.cpp 

The first command adds an [include] of the repo's .gitconfig to the local git config file .git/config, i.e. the one in your clone of the repo. .gitconfig contains the config of the "keyworder" filter. The remaining commands force a new checkout of the affected files to smudge them with the date. These two are unnecessary if you plan to edit these files.