Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 value) |
static QByteArrayView | safeView (QByteArrayView view, quint32 start, quint32 length) |
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 22 of file qktxhandler.cpp.
Referenced by renderToKTXFileInternal().
Definition at line 75 of file qktxhandler.cpp.
References qAddOverflow().
Referenced by QKtxHandler::read().
|
static |
Definition at line 86 of file qktxhandler.cpp.
References qAddOverflow(), and view.
Referenced by QKtxHandler::read().
|
static |
Definition at line 25 of file qktxhandler.cpp.
|
static |
Definition at line 23 of file qktxhandler.cpp.
Referenced by QKtxHandler::canRead(), and renderToKTXFileInternal().
|
static |
Definition at line 24 of file qktxhandler.cpp.
Referenced by renderToKTXFileInternal().
Definition at line 44 of file qktxhandler.cpp.
Referenced by QKtxHandler::read().