Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qssgrendershaderlibrarymanager.cpp File Reference

(e5a02a4baa54b616ba53ac233d580ea9970acaf0)

#include "qssgrendershaderlibrarymanager_p.h"
#include "../qssgrendercontextcore.h"
#include <QtQuick3DRuntimeRender/private/qssgrenderloadedtexture_p.h>
#include <QXmlStreamReader>
#include <QFileInfo>
#include <QCryptographicHash>
#include <QtQuick3DRuntimeRender/private/qssgruntimerenderlogging_p.h>
+ Include dependency graph for qssgrendershaderlibrarymanager.cpp:

Go to the source code of this file.

Macros

#define COMPARE_PROP(x)    if (props.x.getValue(key1) < props.x.getValue(key2)) return true;
 

Functions

static QByteArray includeSearch ()
 
static QByteArray copyrightHeaderStart ()
 
static QByteArray copyrightHeaderEnd ()
 
static char stageKey (QSSGShaderCache::ShaderType type)
 
static int calcLightPoint (const QSSGShaderDefaultMaterialKey &key, int i)
 

Macro Definition Documentation

◆ COMPARE_PROP

#define COMPARE_PROP ( x)     if (props.x.getValue(key1) < props.x.getValue(key2)) return true;

Function Documentation

◆ calcLightPoint()

static int calcLightPoint ( const QSSGShaderDefaultMaterialKey & key,
int i )
static

Definition at line 181 of file qssgrendershaderlibrarymanager.cpp.

References QSSGShaderKeyBoolean::getValue(), i, QSSGShaderDefaultMaterialKeyProperties::m_lightAreaFlags, QSSGShaderDefaultMaterialKeyProperties::m_lightFlags, QSSGShaderDefaultMaterialKeyProperties::m_lightShadowFlags, and QSSGShaderDefaultMaterialKeyProperties::m_lightSpotFlags.

Referenced by QSSGShaderLibraryManager::compare().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ copyrightHeaderEnd()

static QByteArray copyrightHeaderEnd ( )
static

Definition at line 24 of file qssgrendershaderlibrarymanager.cpp.

References QByteArrayLiteral.

Referenced by QSSGShaderLibraryManager::resolveIncludeFiles().

+ Here is the caller graph for this function:

◆ copyrightHeaderStart()

static QByteArray copyrightHeaderStart ( )
static

Definition at line 23 of file qssgrendershaderlibrarymanager.cpp.

References QByteArrayLiteral.

Referenced by QSSGShaderLibraryManager::resolveIncludeFiles().

+ Here is the caller graph for this function:

◆ includeSearch()

static QByteArray includeSearch ( )
static

Definition at line 22 of file qssgrendershaderlibrarymanager.cpp.

References QByteArrayLiteral.

Referenced by QSSGShaderLibraryManager::resolveIncludeFiles().

+ Here is the caller graph for this function:

◆ stageKey()

static char stageKey ( QSSGShaderCache::ShaderType type)
inlinestatic

Definition at line 30 of file qssgrendershaderlibrarymanager.cpp.

References QSSGShaderCache::Fragment, and QSSGShaderCache::Vertex.

Referenced by QSSGShaderLibraryManager::getShaderMetaData(), QSSGShaderLibraryManager::getShaderSource(), and QSSGShaderLibraryManager::setShaderSource().

+ Here is the caller graph for this function: