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
qssgiblbaker.cpp File Reference

(a0ded38e4c0d5ab601e2b13df3ddee2f0073827c)

#include "qssgiblbaker_p.h"
#include <QFile>
#include <QFileInfo>
#include <QScopeGuard>
#include <QtQuick3DRuntimeRender/private/qssgrhicontext_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderloadedtexture_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendershadercache_p.h>
Include dependency graph for qssgiblbaker.cpp:

Go to the source code of this file.

Macros

#define GL_FLOAT   0x1406
#define GL_HALF_FLOAT   0x140B
#define GL_UNSIGNED_BYTE   0x1401
#define GL_RGBA   0x1908
#define GL_RGBA8   0x8058
#define GL_RGBA16F   0x881A
#define GL_RGBA32F   0x8814

Functions

static constexpr QSSGRenderTextureFormat FORMAT (QSSGRenderTextureFormat::RGBA16F)
QString renderToKTXFileInternal (const char *name, const QString &inPath, const QString &outPath, QRhi::Implementation impl, QRhiInitParams *initParams)
void adjustToPlatformQuirks (QRhi::Implementation &impl)
QRhi::Implementation getRhiImplementation ()
QString renderToKTXFile (const QString &inPath, const QString &outPath)

Variables

static const float cube []

Macro Definition Documentation

◆ GL_FLOAT

#define GL_FLOAT   0x1406

Definition at line 20 of file qssgiblbaker.cpp.

◆ GL_HALF_FLOAT

#define GL_HALF_FLOAT   0x140B

Definition at line 21 of file qssgiblbaker.cpp.

◆ GL_RGBA

#define GL_RGBA   0x1908

Definition at line 23 of file qssgiblbaker.cpp.

◆ GL_RGBA16F

#define GL_RGBA16F   0x881A

Definition at line 25 of file qssgiblbaker.cpp.

◆ GL_RGBA32F

#define GL_RGBA32F   0x8814

Definition at line 26 of file qssgiblbaker.cpp.

◆ GL_RGBA8

#define GL_RGBA8   0x8058

Definition at line 24 of file qssgiblbaker.cpp.

◆ GL_UNSIGNED_BYTE

#define GL_UNSIGNED_BYTE   0x1401

Definition at line 22 of file qssgiblbaker.cpp.

Function Documentation

◆ adjustToPlatformQuirks()

void adjustToPlatformQuirks ( QRhi::Implementation & impl)

Definition at line 580 of file qssgiblbaker.cpp.

◆ FORMAT()

constexpr QSSGRenderTextureFormat FORMAT ( QSSGRenderTextureFormat::RGBA16F )
staticconstexpr

◆ getRhiImplementation()

QRhi::Implementation getRhiImplementation ( )

Definition at line 601 of file qssgiblbaker.cpp.

◆ renderToKTXFile()

QString renderToKTXFile ( const QString & inPath,
const QString & outPath )

Definition at line 640 of file qssgiblbaker.cpp.

◆ renderToKTXFileInternal()

QString renderToKTXFileInternal ( const char * name,
const QString & inPath,
const QString & outPath,
QRhi::Implementation impl,
QRhiInitParams * initParams )

Definition at line 100 of file qssgiblbaker.cpp.

References cube.

Variable Documentation

◆ cube

const float cube[]
static

Definition at line 62 of file qssgiblbaker.cpp.

Referenced by renderToKTXFileInternal().