Interface to Khronos KTX texture files.
More...
#include <KtxFile.h>
Interface to Khronos KTX texture files.
- Todo:
- Test cube map and array textures.
molecular::util::KtxFile::KtxFile |
( |
const void * |
fileData, |
|
|
std::size_t |
fileSize |
|
) |
| |
- Parameters
-
fileData | Pointer to file contents. Must be valid through the entire lifetime of this KtxFile. |
uint32_t molecular::util::KtxFile::GetGlBaseInternalFormat |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetGlFormat |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetGlInternalFormat |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetGlType |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetGlTypeSize |
( |
| ) |
const |
|
inline |
std::pair< const void *, std::size_t > molecular::util::KtxFile::GetImageData |
( |
int |
mipmapLevel, |
|
|
int |
face = 0 , |
|
|
int |
arrayElement = 0 |
|
) |
| |
uint32_t molecular::util::KtxFile::GetNumberOfArrayElements |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetNumberOfFaces |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetNumberOfMipmapLevels |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetPixelDepth |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetPixelHeight |
( |
| ) |
const |
|
inline |
uint32_t molecular::util::KtxFile::GetPixelWidth |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files:
- /home/travis/build/cmdrf/molecular/molecular-util/molecular/util/KtxFile.h
- /home/travis/build/cmdrf/molecular/molecular-util/molecular/util/KtxFile.cpp