This commit is contained in:
2026-06-14 19:09:18 +01:00
parent 14bd1a9271
commit 13fa90a0e9
3958 changed files with 999286 additions and 4 deletions
@@ -0,0 +1,322 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.16.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libktx Reference: OpenGL Texture Image Loader</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="ktx_logo_200.png"/></td>
<td id="projectalign">
<div id="projectname">libktx Reference<span id="projectnumber">&#160;0.0.0</span>
</div>
<div id="projectbrief">Libraries and tools to create and read KTX image texture files.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.16.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(function(){initNavTree('group__ktx__glloader.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">OpenGL Texture Image Loader </div></div>
</div><!--header-->
<div class="contents">
<p>Create texture objects in current OpenGL context.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gada67f60796793d1ed9eb1f3f2d61d4a6" id="r_gada67f60796793d1ed9eb1f3f2d61d4a6"><td class="memItemLeft"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116c">ktx_error_code_e</a>&#160;</td><td class="memItemRight"><a class="el" href="#gada67f60796793d1ed9eb1f3f2d61d4a6">ktxLoadOpenGL</a> (<a class="el" href="ktx_8h.html#aa823ce7b0db0aaefb942c4b5a07504be">PFNGLGETPROCADDRESS</a> pfnGLGetProcAddress)</td></tr>
<tr class="memdesc:gada67f60796793d1ed9eb1f3f2d61d4a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load pointers for the GL functions used by the ktxTexture*_GLUpload functions. <br /></td></tr>
<tr class="memitem:ga058297b66c5a7fd1f1bbaf718a887b9f" id="r_ga058297b66c5a7fd1f1bbaf718a887b9f"><td class="memItemLeft"><a class="el" href="ktx_8h.html#ad2efa40e38ebae48371375db92d34eaa">KTX_error_code</a>&#160;</td><td class="memItemRight"><a class="el" href="#ga058297b66c5a7fd1f1bbaf718a887b9f">ktxTexture1_GLUpload</a> (<a class="el" href="structktxTexture1.html">ktxTexture1</a> *This, GLuint *pTexture, GLenum *pTarget, GLenum *pGlerror)</td></tr>
<tr class="memdesc:ga058297b66c5a7fd1f1bbaf718a887b9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a GL texture object from a <a class="el" href="structktxTexture1.html" title="Class representing a KTX version 1 format texture.">ktxTexture1</a> object. <br /></td></tr>
<tr class="memitem:ga7624860df8e44573862fa5754ea2976c" id="r_ga7624860df8e44573862fa5754ea2976c"><td class="memItemLeft"><a class="el" href="ktx_8h.html#ad2efa40e38ebae48371375db92d34eaa">KTX_error_code</a>&#160;</td><td class="memItemRight"><a class="el" href="#ga7624860df8e44573862fa5754ea2976c">ktxTexture2_GLUpload</a> (<a class="el" href="structktxTexture2.html">ktxTexture2</a> *This, GLuint *pTexture, GLenum *pTarget, GLenum *pGlerror)</td></tr>
<tr class="memdesc:ga7624860df8e44573862fa5754ea2976c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a GL texture object from a <a class="el" href="structktxTexture2.html" title="Class representing a KTX version 2 format texture.">ktxTexture2</a> object. <br /></td></tr>
<tr class="memitem:ga516367e94731f99a23a83fb029e9a441" id="r_ga516367e94731f99a23a83fb029e9a441"><td class="memItemLeft"><a class="el" href="ktx_8h.html#ad2efa40e38ebae48371375db92d34eaa">KTX_error_code</a>&#160;</td><td class="memItemRight"><a class="el" href="#ga516367e94731f99a23a83fb029e9a441">ktxTexture_GLUpload</a> (<a class="el" href="structktxTexture.html">ktxTexture</a> *This, GLuint *pTexture, GLenum *pTarget, GLenum *pGlerror)</td></tr>
<tr class="memdesc:ga516367e94731f99a23a83fb029e9a441"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a GL texture object from a <a class="el" href="structktxTexture.html" title="Base class representing a texture.">ktxTexture</a> object. <br /></td></tr>
</table>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Create texture objects in current OpenGL context. </p>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="gada67f60796793d1ed9eb1f3f2d61d4a6" name="gada67f60796793d1ed9eb1f3f2d61d4a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada67f60796793d1ed9eb1f3f2d61d4a6">&#9670;&#160;</a></span>ktxLoadOpenGL()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116c">ktx_error_code_e</a> ktxLoadOpenGL </td>
<td>(</td>
<td class="paramtype"><a class="el" href="ktx_8h.html#aa823ce7b0db0aaefb942c4b5a07504be">PFNGLGETPROCADDRESS</a></td> <td class="paramname"><span class="paramname"><em>pfnGLGetProcAddress</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Load pointers for the GL functions used by the ktxTexture*_GLUpload functions. </p>
<p>Should be called by an application before its first call to a ktxTexture*_GLUpload function, passing a pointer to the GLGetProcAddress function provided by whatever OpenGL framework it is using. For backward compatibility, the ktxTexture*_GLUpload functions call this with a NULL pointer causing an attempt to load the pointers from the program module using <code>dlsym</code> (GNU/Linux, macOS), <code>wglGetProcAddr</code> and <code>GetProcAddr</code> (Windows) or <code>emscripten_GetProcAddress</code> (Web). This works with the vast majority of OpenGL implementations but issues have been seen on Fedora systems particularly with NVIDIA hardware. For full robustness, applications should call this function.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">pfnGLGetProcAddress</td><td>pointer to function for retrieving pointers to GL functions. If NULL, retrieval is attempted using system dependent generic functions. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga058297b66c5a7fd1f1bbaf718a887b9f" name="ga058297b66c5a7fd1f1bbaf718a887b9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga058297b66c5a7fd1f1bbaf718a887b9f">&#9670;&#160;</a></span>ktxTexture1_GLUpload()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ktx_8h.html#ad2efa40e38ebae48371375db92d34eaa">KTX_error_code</a> ktxTexture1_GLUpload </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structktxTexture1.html">ktxTexture1</a> *</td> <td class="paramname"><span class="paramname"><em>This</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLuint *</td> <td class="paramname"><span class="paramname"><em>pTexture</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLenum *</td> <td class="paramname"><span class="paramname"><em>pTarget</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLenum *</td> <td class="paramname"><span class="paramname"><em>pGlerror</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a GL texture object from a <a class="el" href="structktxTexture1.html" title="Class representing a KTX version 1 format texture.">ktxTexture1</a> object. </p>
<p>Sets the texture object's GL_TEXTURE_MAX_LEVEL parameter according to the number of levels in the KTX data, provided the context supports this feature.</p>
<p>Unpacks compressed GL_ETC1_RGB8_OES and GL_ETC2_* format textures in software when the format is not supported by the GL context, provided the library has been compiled with <code>SUPPORT_SOFTWARE_ETC_UNPACK</code> defined as 1.</p>
<p>It will also convert textures with legacy formats to their modern equivalents when the format is not supported by the GL context, provided the library has been compiled with <code>SUPPORT_LEGACY_FORMAT_CONVERSION</code> defined as 1.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">This</td><td>handle of the <a class="el" href="structktxTexture.html" title="Base class representing a texture.">ktxTexture</a> to upload. </td></tr>
<tr><td class="paramdir">[in,out]</td><td class="paramname">pTexture</td><td>name of the GL texture object to load. If NULL or if <span class="tt">*pTexture == 0</span> the function will generate a texture name. The function binds either the generated name or the name given in <code class="param">*pTexture</code> to the texture target returned in <code class="param">*pTarget</code>, before loading the texture data. If <code class="param">pTexture</code> is not NULL and a name was generated, the generated name will be returned in *pTexture. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">pTarget</td><td><code class="param">*pTarget</code> is set to the texture target used. The target is chosen based on the file contents. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">pGlerror</td><td><code class="param">*pGlerror</code> is set to the value returned by glGetError when this function returns the error KTX_GL_ERROR. pGlerror can be NULL.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>KTX_SUCCESS on success, other KTX_* enum values on error.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116ca89736f14efecf057c2d5a35342ab84cf">KTX_GL_ERROR</a></td><td>A GL error was raised by glBindTexture, glGenTextures or gl*TexImage*. The GL error will be returned in <code class="param">*glerror</code>, if glerror is not <code>NULL</code>. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116ca7da41bb3195d6cc93a513ac18bc91e4f">KTX_INVALID_VALUE</a></td><td><code class="param">This</code> or <code class="param">target</code> is <code>NULL</code> or the size of a mip level is greater than the size of the preceding level. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116cac9008e8d20f60f4fb67d735f287be470">KTX_NOT_FOUND</a></td><td>A dynamically loaded OpenGL {,ES} function required by the loader was not found. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116cad3d82ba3467063bec92486a94a38d21d">KTX_UNSUPPORTED_TEXTURE_TYPE</a></td><td>The type of texture is not supported by the current OpenGL context. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga7624860df8e44573862fa5754ea2976c" name="ga7624860df8e44573862fa5754ea2976c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7624860df8e44573862fa5754ea2976c">&#9670;&#160;</a></span>ktxTexture2_GLUpload()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ktx_8h.html#ad2efa40e38ebae48371375db92d34eaa">KTX_error_code</a> ktxTexture2_GLUpload </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structktxTexture2.html">ktxTexture2</a> *</td> <td class="paramname"><span class="paramname"><em>This</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLuint *</td> <td class="paramname"><span class="paramname"><em>pTexture</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLenum *</td> <td class="paramname"><span class="paramname"><em>pTarget</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLenum *</td> <td class="paramname"><span class="paramname"><em>pGlerror</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a GL texture object from a <a class="el" href="structktxTexture2.html" title="Class representing a KTX version 2 format texture.">ktxTexture2</a> object. </p>
<p>Sets the texture object's GL_TEXTURE_MAX_LEVEL parameter according to the number of levels in the KTX data, provided the context supports this feature.</p>
<p>Unpacks compressed GL_ETC1_RGB8_OES and GL_ETC2_* format textures in software when the format is not supported by the GL context, provided the library has been compiled with <code>SUPPORT_SOFTWARE_ETC_UNPACK</code> defined as 1.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">This</td><td>handle of the <a class="el" href="structktxTexture.html" title="Base class representing a texture.">ktxTexture</a> to upload. </td></tr>
<tr><td class="paramdir">[in,out]</td><td class="paramname">pTexture</td><td>name of the GL texture object to load. If NULL or if <span class="tt">*pTexture == 0</span> the function will generate a texture name. The function binds either the generated name or the name given in <code class="param">*pTexture</code> to the texture target returned in <code class="param">*pTarget</code>, before loading the texture data. If <code class="param">pTexture</code> is not NULL and a name was generated, the generated name will be returned in *pTexture. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">pTarget</td><td><code class="param">*pTarget</code> is set to the texture target used. The target is chosen based on the file contents. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">pGlerror</td><td><code class="param">*pGlerror</code> is set to the value returned by glGetError when this function returns the error KTX_GL_ERROR. pGlerror can be NULL.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>KTX_SUCCESS on success, other KTX_* enum values on error.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116ca89736f14efecf057c2d5a35342ab84cf">KTX_GL_ERROR</a></td><td>A GL error was raised by glBindTexture, glGenTextures or gl*TexImage*. The GL error will be returned in <code class="param">*glerror</code>, if glerror is not <code>NULL</code>. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116ca7da41bb3195d6cc93a513ac18bc91e4f">KTX_INVALID_VALUE</a></td><td><code class="param">This</code> or <code class="param">target</code> is <code>NULL</code> or the size of a mip level is greater than the size of the preceding level. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116cac9008e8d20f60f4fb67d735f287be470">KTX_NOT_FOUND</a></td><td>A dynamically loaded OpenGL {,ES} function required by the loader was not found. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116cad3d82ba3467063bec92486a94a38d21d">KTX_UNSUPPORTED_TEXTURE_TYPE</a></td><td>The type of texture is not supported by the current OpenGL context. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ga516367e94731f99a23a83fb029e9a441" name="ga516367e94731f99a23a83fb029e9a441"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga516367e94731f99a23a83fb029e9a441">&#9670;&#160;</a></span>ktxTexture_GLUpload()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ktx_8h.html#ad2efa40e38ebae48371375db92d34eaa">KTX_error_code</a> ktxTexture_GLUpload </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structktxTexture.html">ktxTexture</a> *</td> <td class="paramname"><span class="paramname"><em>This</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLuint *</td> <td class="paramname"><span class="paramname"><em>pTexture</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLenum *</td> <td class="paramname"><span class="paramname"><em>pTarget</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLenum *</td> <td class="paramname"><span class="paramname"><em>pGlerror</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a GL texture object from a <a class="el" href="structktxTexture.html" title="Base class representing a texture.">ktxTexture</a> object. </p>
<p>In order to ensure that the GL uploader is not linked into an application unless explicitly called, this is not a virtual function. It determines the texture type then dispatches to the correct function.</p>
<p>Sets the texture object's GL_TEXTURE_MAX_LEVEL parameter according to the number of levels in the KTX data, provided the context supports this feature.</p>
<p>Unpacks compressed GL_ETC1_RGB8_OES and GL_ETC2_* format textures in software when the format is not supported by the GL context, provided the library has been compiled with <code>SUPPORT_SOFTWARE_ETC_UNPACK</code> defined as 1.</p>
<p>It will also convert textures with legacy formats to their modern equivalents when the format is not supported by the GL context, provided the library has been compiled with <code>SUPPORT_LEGACY_FORMAT_CONVERSION</code> defined as 1.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">This</td><td>handle of the <a class="el" href="structktxTexture.html" title="Base class representing a texture.">ktxTexture</a> to upload. </td></tr>
<tr><td class="paramdir">[in,out]</td><td class="paramname">pTexture</td><td>name of the GL texture object to load. If NULL or if <span class="tt">*pTexture == 0</span> the function will generate a texture name. The function binds either the generated name or the name given in <code class="param">*pTexture</code> to the texture target returned in <code class="param">*pTarget</code>, before loading the texture data. If <code class="param">pTexture</code> is not NULL and a name was generated, the generated name will be returned in *pTexture. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">pTarget</td><td><code class="param">*pTarget</code> is set to the texture target used. The target is chosen based on the file contents. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">pGlerror</td><td><code class="param">*pGlerror</code> is set to the value returned by glGetError when this function returns the error KTX_GL_ERROR. pGlerror can be NULL.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>KTX_SUCCESS on success, other KTX_* enum values on error.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116ca89736f14efecf057c2d5a35342ab84cf">KTX_GL_ERROR</a></td><td>A GL error was raised by glBindTexture, glGenTextures or gl*TexImage*. The GL error will be returned in <code class="param">*glerror</code>, if glerror is not <code>NULL</code>. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116ca7da41bb3195d6cc93a513ac18bc91e4f">KTX_INVALID_VALUE</a></td><td><code class="param">This</code> or <code class="param">target</code> is <code>NULL</code> or the size of a mip level is greater than the size of the preceding level. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116cac9008e8d20f60f4fb67d735f287be470">KTX_NOT_FOUND</a></td><td>A dynamically loaded OpenGL {,ES} function required by the loader was not found. </td></tr>
<tr><td class="paramname"><a class="el" href="ktx_8h.html#a7780d97ec4de6aa30c4726fb71e3116cad3d82ba3467063bec92486a94a38d21d">KTX_UNSUPPORTED_TEXTURE_TYPE</a></td><td>The type of texture is not supported by the current OpenGL context. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on <span class="timestamp"></span> for libktx Reference by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.16.1 </li>
</ul>
</div>
</body>
</html>