Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrenderloadedtexture_p.h>
Public Member Functions | |
~QSSGLoadedTexture () | |
void | setFormatFromComponents () |
bool | scanForTransparency () const |
Static Public Member Functions | |
static QSSGLoadedTexture * | load (const QString &inPath, const QSSGRenderTextureFormat &inFormat, bool inFlipY=true) |
static QSSGLoadedTexture * | loadQImage (const QString &inPath, qint32 flipVertical) |
static QSSGLoadedTexture * | loadCompressedImage (const QString &inPath) |
static QSSGLoadedTexture * | loadHdrImage (const QSharedPointer< QIODevice > &source, const QSSGRenderTextureFormat &inFormat) |
static QSSGLoadedTexture * | loadTextureData (QSSGRenderTextureData *textureData) |
Public Attributes | |
qint32 | width = 0 |
qint32 | height = 0 |
qint32 | depth = 0 |
qint32 | components = 0 |
void * | data = nullptr |
bool | ownsData = true |
QTextureFileData | textureFileData |
QImage | image |
quint32 | dataSizeInBytes = 0 |
QSSGRenderTextureFormat | format = QSSGRenderTextureFormat::RGBA8 |
bool | isSRGB = false |
Definition at line 51 of file qssgrenderloadedtexture_p.h.
QSSGLoadedTexture::~QSSGLoadedTexture | ( | ) |
Definition at line 813 of file qssgrenderloadedtexture.cpp.
|
static |
Definition at line 942 of file qssgrenderloadedtexture.cpp.
|
static |
Definition at line 311 of file qssgrenderloadedtexture.cpp.
|
static |
Definition at line 704 of file qssgrenderloadedtexture.cpp.
|
static |
Definition at line 292 of file qssgrenderloadedtexture.cpp.
|
static |
Definition at line 727 of file qssgrenderloadedtexture.cpp.
bool QSSGLoadedTexture::scanForTransparency | ( | ) | const |
Definition at line 819 of file qssgrenderloadedtexture.cpp.
|
inline |
Definition at line 68 of file qssgrenderloadedtexture_p.h.
qint32 QSSGLoadedTexture::components = 0 |
Definition at line 57 of file qssgrenderloadedtexture_p.h.
Definition at line 58 of file qssgrenderloadedtexture_p.h.
quint32 QSSGLoadedTexture::dataSizeInBytes = 0 |
Definition at line 62 of file qssgrenderloadedtexture_p.h.
qint32 QSSGLoadedTexture::depth = 0 |
Definition at line 56 of file qssgrenderloadedtexture_p.h.
QSSGRenderTextureFormat QSSGLoadedTexture::format = QSSGRenderTextureFormat::RGBA8 |
Definition at line 63 of file qssgrenderloadedtexture_p.h.
qint32 QSSGLoadedTexture::height = 0 |
Definition at line 55 of file qssgrenderloadedtexture_p.h.
QImage QSSGLoadedTexture::image |
Definition at line 61 of file qssgrenderloadedtexture_p.h.
bool QSSGLoadedTexture::isSRGB = false |
Definition at line 65 of file qssgrenderloadedtexture_p.h.
bool QSSGLoadedTexture::ownsData = true |
Definition at line 59 of file qssgrenderloadedtexture_p.h.
QTextureFileData QSSGLoadedTexture::textureFileData |
Definition at line 60 of file qssgrenderloadedtexture_p.h.
qint32 QSSGLoadedTexture::width = 0 |
Definition at line 54 of file qssgrenderloadedtexture_p.h.