lib/checkheader.c File Reference

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.

Detailed Description

Function to verify a KTX file header.

For internal use only.

Author:
Mark Callow, HI Corporation
Revision
11853
Date
: 2010-07-06 17:18:55 +0900 #


Function Documentation

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.

Parameters:
header pointer to the KTX header to check
texinfo pointer to a KTX_texinfo structure in which to return information about the texture.
Author:
Georg Kolling, Imagination Technology
Mark Callow, HI Corporation

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Thu Jan 26 17:24:09 2012 for libktx by  doxygen 1.6.1