| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
#ifndef _TEXTURE1_H_ |
| 21 |
#define _TEXTURE1_H_ |
| 22 |
|
| 23 |
#include "texture.h" |
| 24 |
|
| 25 |
#ifdef __cplusplus |
| 26 |
extern "C" { |
| 27 |
#endif |
| 28 |
|
| 29 |
#define CLASS ktxTexture1 |
| 30 |
#include "texture_funcs.inl" |
| 31 |
#undef CLASS |
| 32 |
|
| 33 |
KTX_error_code |
| 34 |
ktxTexture1_constructFromStreamAndHeader(ktxTexture1* This, ktxStream* pStream, |
| 35 |
KTX_header* pHeader, |
| 36 |
ktxTextureCreateFlags createFlags); |
| 37 |
|
| 38 |
ktx_uint64_t ktxTexture1_calcDataSizeTexture(ktxTexture1* This); |
| 39 |
ktx_size_t ktxTexture1_calcLevelOffset(ktxTexture1* This, ktx_uint32_t level); |
| 40 |
ktx_uint32_t ktxTexture1_glTypeSize(ktxTexture1* This); |
| 41 |
|
| 42 |
#ifdef __cplusplus |
| 43 |
} |
| 44 |
#endif |
| 45 |
|
| 46 |
#endif |