![]() |
Qt 6.x
The Qt SDK
|
#include <qtexturefilereader_p.h>
Collaboration diagram for QTextureFileReader:Public Member Functions | |
| QTextureFileReader (QIODevice *device, const QString &fileName=QString()) | |
| ~QTextureFileReader () | |
| bool | canRead () |
| QTextureFileData | read () |
Static Public Member Functions | |
| static QList< QByteArray > | supportedFileFormats () |
Definition at line 27 of file qtexturefilereader_p.h.
Definition at line 16 of file qtexturefilereader.cpp.
| QTextureFileReader::~QTextureFileReader | ( | ) |
Definition at line 21 of file qtexturefilereader.cpp.
| bool QTextureFileReader::canRead | ( | ) |
Definition at line 33 of file qtexturefilereader.cpp.
References QAstcHandler::canRead(), QKtxHandler::canRead(), QPkmHandler::canRead(), fi, QFileInfo::fileName(), QIODevice::peek(), QFileInfo::suffix(), QString::toLatin1(), QString::toLower(), and QString::toUtf8().
Referenced by QSGTextureReader::isTexture(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:| QTextureFileData QTextureFileReader::read | ( | ) |
Definition at line 26 of file qtexturefilereader.cpp.
References canRead(), and QTextureFileHandler::read().
Referenced by QSGTextureReader::read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 58 of file qtexturefilereader.cpp.
References QByteArrayLiteral.
Referenced by QSSGInputUtil::getStreamForTextureFile(), QWaylandTextureSharingExtension::initialize(), and QSGTextureReader::supportedFileFormats().
Here is the caller graph for this function: