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

(b4098272c85fbf2315a1dbad47783692196f9f0e)

#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 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 350 of file qssgrenderloadedtexture.cpp.

◆ E

#define E   3

Definition at line 351 of file qssgrenderloadedtexture.cpp.

◆ G

#define G   1

Definition at line 349 of file qssgrenderloadedtexture.cpp.

◆ MAXELEN

#define MAXELEN   0x7fff

Definition at line 354 of file qssgrenderloadedtexture.cpp.

◆ MINELEN

#define MINELEN   8

Definition at line 353 of file qssgrenderloadedtexture.cpp.

◆ R

#define R   0

Definition at line 348 of file qssgrenderloadedtexture.cpp.

◆ TINYEXR_IMPLEMENTATION

#define TINYEXR_IMPLEMENTATION

Definition at line 18 of file qssgrenderloadedtexture.cpp.

◆ TINYEXR_USE_MINIZ

#define TINYEXR_USE_MINIZ   0

Definition at line 19 of file qssgrenderloadedtexture.cpp.

◆ TINYEXR_USE_THREAD

#define TINYEXR_USE_THREAD   1

Definition at line 20 of file qssgrenderloadedtexture.cpp.

Function Documentation

◆ fromGLtoTextureFormat()

static QSSGRenderTextureFormat fromGLtoTextureFormat ( quint32 internalFormat)
inlinestatic

Definition at line 96 of file qssgrenderloadedtexture.cpp.

◆ isCompatible()

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

Definition at line 875 of file qssgrenderloadedtexture.cpp.

◆ loadCubeMap()

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

Definition at line 885 of file qssgrenderloadedtexture.cpp.

◆ loadImage()

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

Definition at line 270 of file qssgrenderloadedtexture.cpp.