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 <qssgrenderloadedtexture_p.h>
Public Types | |
enum | FileType { UnknownFile , ImageFile , TextureFile , HdrFile } |
Static Public Member Functions | |
static QSharedPointer< QIODevice > | getStreamForFile (const QString &inPath, bool inQuiet=false, QString *outPath=nullptr) |
static QSharedPointer< QIODevice > | getStreamForTextureFile (const QString &inPath, bool inQuiet=false, QString *outPath=nullptr, FileType *outFileType=nullptr) |
Definition at line 36 of file qssgrenderloadedtexture_p.h.
Enumerator | |
---|---|
UnknownFile | |
ImageFile | |
TextureFile | |
HdrFile |
Definition at line 39 of file qssgrenderloadedtexture_p.h.
|
static |
Definition at line 27 of file qssgrenderloadedtexture.cpp.
References file, QFile::open(), qCWarning, qPrintable, QIODeviceBase::ReadOnly, and QString::startsWith().
Referenced by QSSGShaderLibraryManager::getIncludeContents(), getStreamForTextureFile(), loadCubeMap(), QSSGBufferManager::loadMeshData(), and renderToKTXFileInternal().
|
static |
Definition at line 54 of file qssgrenderloadedtexture.cpp.
References getStreamForFile(), HdrFile, ImageFile, qCWarning, qPrintable, QFileInfo::suffix(), QTextureFileReader::supportedFileFormats(), QImageReader::supportedImageFormats(), TextureFile, QString::toLatin1(), QByteArray::toLower(), and UnknownFile.
Referenced by QSSGLoadedTexture::load().