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 <qastchandler_p.h>
Public Member Functions | |
~QAstcHandler () override | |
QTextureFileData | read () override |
QTextureFileHandler (QIODevice *device, const QByteArray &logName=QByteArray()) | |
Public Member Functions inherited from QTextureFileHandler | |
QTextureFileHandler (QIODevice *device, const QByteArray &logName=QByteArray()) | |
virtual | ~QTextureFileHandler () |
QIODevice * | device () const |
QByteArray | logName () const |
Static Public Member Functions | |
static bool | canRead (const QByteArray &suffix, const QByteArray &block) |
Definition at line 22 of file qastchandler_p.h.
|
overridedefault |
|
static |
Definition at line 28 of file qastchandler.cpp.
References Q_UNUSED, and QByteArray::startsWith().
Referenced by QTextureFileReader::canRead(), and read().
|
inline |
Definition at line 25 of file qtexturefilehandler_p.h.
|
overridevirtual |
Implements QTextureFileHandler.
Definition at line 74 of file qastchandler.cpp.
References canRead(), QByteArray::constData(), QTextureFileHandler::device(), header(), QTextureFileHandler::logName(), QByteArray(), qCDebug, qDebug, qMulOverflow(), QIODevice::readAll(), and QByteArray::size().