Function to verify a KTX file header. More...
#include <string.h>#include "ktx.h"#include "ktxint.h"Functions | |
| DECLARE_GL_FUNCPTRS DECLARE_GL_EXTGLOBALS KTX_error_code | _ktxCheckHeader (KTX_header *header, KTX_texinfo *texinfo) |
| Check a KTX file header. | |
Function to verify a KTX file header.
For internal use only.
| DECLARE_GL_FUNCPTRS DECLARE_GL_EXTGLOBALS KTX_error_code _ktxCheckHeader | ( | KTX_header * | header, | |
| KTX_texinfo * | texinfo | |||
| ) |
Check a KTX file header.
For internal use only.
As well as checking that the header identifies a KTX file, the function sanity checks the values and returns information about the texture in a KTX_texinfo structure.
| header | pointer to the KTX header to check | |
| texinfo | pointer to a KTX_texinfo structure in which to return information about the texture. |
1.6.1