Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qssgrenderloadedtexture.cpp File Reference

(7f954b1c325da8c7842bd93f971e10695d533f5e)

#include <QtQuick3DRuntimeRender/private/qssgrenderloadedtexture_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendererutil_p.h>
#include <QtQuick3DRuntimeRender/private/qssgruntimerenderlogging_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendertexturedata_p.h>
#include <QtGui/QImageReader>
#include <QtGui/QColorSpace>
#include <QtCore/qnumeric.h>
#include <QtMath>
#include <QtQuick3DUtils/private/qssgutils_p.h>
#include <private/qtexturefilereader_p.h>
#include <memory>
#include <QtQuick3DTextureHelpers/private/qssgexrreader_p.h>
#include "qssglightmapio_p.h"
Include dependency graph for qssgrenderloadedtexture.cpp:

Go to the source code of this file.

Functions

static QSSGRenderTextureFormat fromGLtoTextureFormat (quint32 internalFormatinternalFormat)
static QImage loadImage (const QString &inPath, bool flipVertical)
static qsizetype packedDataSize (const QSize &sizesize, int depthdepth, int bytesPerPixel)
static bool isCompatible (const QImage &img1, const QImage &img2)
static QSSGLoadedTexture * loadCubeMap (const QString &inPath, bool flipY)

Function Documentation

◆ fromGLtoTextureFormat()

QSSGRenderTextureFormat fromGLtoTextureFormat ( quint32 internalFormat)
inlinestatic

Definition at line 103 of file qssgrenderloadedtexture.cpp.

◆ isCompatible()

bool isCompatible ( const QImage & img1,
const QImage & img2 )
static

Definition at line 870 of file qssgrenderloadedtexture.cpp.

◆ loadCubeMap()

QSSGLoadedTexture * loadCubeMap ( const QString & inPath,
bool flipY )
static

Definition at line 880 of file qssgrenderloadedtexture.cpp.

◆ loadImage()

QImage loadImage ( const QString & inPath,
bool flipVertical )
static

Definition at line 277 of file qssgrenderloadedtexture.cpp.

◆ packedDataSize()

qsizetype packedDataSize ( const QSize & size,
int depth,
int bytesPerPixel )
static

Definition at line 686 of file qssgrenderloadedtexture.cpp.