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

(ffc332825a1c2662374b85426aa4e7a485f3e50d)

#include "qsgrhishadereffectnode_p.h"
#include "qsgdefaultrendercontext_p.h"
#include "qsgrhisupport_p.h"
#include <qsgmaterialshader.h>
#include <qsgtextureprovider.h>
#include <private/qsgplaintexture_p.h>
#include <rhi/qshaderdescription.h>
#include <QQmlFile>
#include <QtGui/qquaternion.h>
#include <QFile>
#include <QFileSelector>
#include <QMutexLocker>
#include "moc_qsgrhishadereffectnode_p.cpp"
Include dependency graph for qsgrhishadereffectnode.cpp:

Go to the source code of this file.

Classes

struct  QSGRhiShaderMaterialTypeCache
struct  QSGRhiShaderMaterialTypeCache::Key
struct  QSGRhiShaderMaterialTypeCache::MaterialType
class  QSGRhiShaderEffectMaterialShader
struct  QSGRhiShaderEffectDefaultShader

Functions

QDebug operator<< (QDebug debug, const QSGRhiShaderLinker::Constant &c)
size_t qHash (const QSGRhiShaderMaterialTypeCache::Key &key, size_t seed=0)
static QColor qsg_premultiply_color (const QColor &c)
template<typename T>
static void fillUniformBlockMember (char *dst, const T *value, int valueCount, int fieldSizeBytes)
static bool hasAtlasTexture (const QVector< QSGTextureProvider * > &textureProviders)
static QShader loadShaderFromFile (const QString &filename)

Variables

static QMutex shaderMaterialTypeCacheMutex
static QHash< void *, QSGRhiShaderMaterialTypeCacheshaderMaterialTypeCache

Function Documentation

◆ fillUniformBlockMember()

template<typename T>
void fillUniformBlockMember ( char * dst,
const T * value,
int valueCount,
int fieldSizeBytes )
inlinestatic

Definition at line 277 of file qsgrhishadereffectnode.cpp.

◆ hasAtlasTexture()

bool hasAtlasTexture ( const QVector< QSGTextureProvider * > & textureProviders)
static

Definition at line 531 of file qsgrhishadereffectnode.cpp.

◆ loadShaderFromFile()

QShader loadShaderFromFile ( const QString & filename)
static

Definition at line 684 of file qsgrhishadereffectnode.cpp.

◆ operator<<()

QDebug operator<< ( QDebug debug,
const QSGRhiShaderLinker::Constant & c )

Definition at line 147 of file qsgrhishadereffectnode.cpp.

◆ qHash()

size_t qHash ( const QSGRhiShaderMaterialTypeCache::Key & key,
size_t seed = 0 )

Definition at line 195 of file qsgrhishadereffectnode.cpp.

◆ qsg_premultiply_color()

QColor qsg_premultiply_color ( const QColor & c)
inlinestatic

Definition at line 269 of file qsgrhishadereffectnode.cpp.

Variable Documentation

◆ shaderMaterialTypeCache

◆ shaderMaterialTypeCacheMutex

QMutex shaderMaterialTypeCacheMutex
static

Definition at line 200 of file qsgrhishadereffectnode.cpp.