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

(c8b6b322ee1b7a1e4dbfe4258104b44fd384ac7e)

#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 <QtMath>
#include <QtQuick3DUtils/private/qssgutils_p.h>
#include <QtQuick3DUtils/private/qssgassert_p.h>
#include <private/qtexturefilereader_p.h>
#include <zlib.h>
#include <tinyexr.h>
#include "qssglightmapio_p.h"
Include dependency graph for qssgrenderloadedtexture.cpp:

Go to the source code of this file.

Macros

#define TINYEXR_IMPLEMENTATION
#define TINYEXR_USE_MINIZ   0
#define TINYEXR_USE_THREAD   1
#define R   0
#define G   1
#define B   2
#define E   3
#define MINELEN   8
#define MAXELEN   0x7fff

Functions

static QSSGRenderTextureFormat fromGLtoTextureFormat (quint32 internalFormat)
static QImage loadImage (const QString &inPath, bool flipVertical)
static bool isCompatible (const QImage &img1, const QImage &img2)
static QSSGLoadedTextureloadCubeMap (const QString &inPath, bool flipY)

Macro Definition Documentation

◆ B

#define B   2

Definition at line 363 of file qssgrenderloadedtexture.cpp.

◆ E

#define E   3

Definition at line 364 of file qssgrenderloadedtexture.cpp.

◆ G

#define G   1

Definition at line 362 of file qssgrenderloadedtexture.cpp.

◆ MAXELEN

#define MAXELEN   0x7fff

Definition at line 367 of file qssgrenderloadedtexture.cpp.

◆ MINELEN

#define MINELEN   8

Definition at line 366 of file qssgrenderloadedtexture.cpp.

◆ R

#define R   0

Definition at line 361 of file qssgrenderloadedtexture.cpp.

◆ TINYEXR_IMPLEMENTATION

#define TINYEXR_IMPLEMENTATION

Definition at line 19 of file qssgrenderloadedtexture.cpp.

◆ TINYEXR_USE_MINIZ

#define TINYEXR_USE_MINIZ   0

Definition at line 20 of file qssgrenderloadedtexture.cpp.

◆ TINYEXR_USE_THREAD

#define TINYEXR_USE_THREAD   1

Definition at line 21 of file qssgrenderloadedtexture.cpp.

Function Documentation

◆ fromGLtoTextureFormat()

QSSGRenderTextureFormat fromGLtoTextureFormat ( quint32 internalFormat)
inlinestatic

Definition at line 104 of file qssgrenderloadedtexture.cpp.

◆ isCompatible()

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

Definition at line 895 of file qssgrenderloadedtexture.cpp.

◆ loadCubeMap()

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

Definition at line 905 of file qssgrenderloadedtexture.cpp.

◆ loadImage()

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

Definition at line 278 of file qssgrenderloadedtexture.cpp.