![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qktxhandler_p.h"#include "qtexturefiledata_p.h"#include <QtEndian>#include <QSize>#include <QMap>#include <QtCore/qiodevice.h>Go to the source code of this file.
Classes | |
| struct | KTXHeader |
| struct | KTXKeyValuePairItem |
| struct | KTXMipmapLevel |
Macros | |
| #define | KTX_IDENTIFIER_LENGTH 12 |
Functions | |
| static const std::optional< quint32 > | nearestMultipleOf4 (quint32 valuevalue) |
| static QByteArrayView | safeView (QByteArrayView view, quint32 startstart, quint32 lengthlength) |
Variables | |
| static const char | ktxIdentifier [KTX_IDENTIFIER_LENGTH] = { '\xAB', 'K', 'T', 'X', ' ', '1', '1', '\xBB', '\r', '\n', '\x1A', '\n' } |
| static const quint32 | platformEndianIdentifier = 0x04030201 |
| static const quint32 | inversePlatformEndianIdentifier = 0x01020304 |
| static constexpr quint32 | qktxh_headerSize = sizeof(KTXHeader) |
| #define KTX_IDENTIFIER_LENGTH 12 |
Definition at line 23 of file qktxhandler.cpp.
Definition at line 76 of file qktxhandler.cpp.
|
static |
Definition at line 87 of file qktxhandler.cpp.
|
static |
Definition at line 26 of file qktxhandler.cpp.
|
static |
Definition at line 24 of file qktxhandler.cpp.
Referenced by QKtxHandler::canRead().
|
static |
Definition at line 25 of file qktxhandler.cpp.
Definition at line 45 of file qktxhandler.cpp.