![]() |
Qt 6.x
The Qt SDK
|
#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 <QFile>
#include <QFileSelector>
#include <QMutexLocker>
#include "moc_qsgrhishadereffectnode_p.cpp"
Go to the source code of this file.
Classes | |
struct | QSGRhiShaderMaterialTypeCache |
struct | QSGRhiShaderMaterialTypeCache::Key |
struct | QSGRhiShaderMaterialTypeCache::MaterialType |
class | QSGRhiShaderEffectMaterialShader |
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 *, QSGRhiShaderMaterialTypeCache > | shaderMaterialTypeCache |
|
inlinestatic |
Definition at line 268 of file qsgrhishadereffectnode.cpp.
|
static |
Definition at line 503 of file qsgrhishadereffectnode.cpp.
Referenced by QSGRhiShaderEffectMaterial::compare().
Definition at line 656 of file qsgrhishadereffectnode.cpp.
References QShader::fromSerialized(), qWarning, and QIODeviceBase::ReadOnly.
Referenced by QSGRhiGuiThreadShaderEffectManager::prepareShaderCode(), and QSGRhiShaderEffectNode::syncMaterial().
QDebug operator<< | ( | QDebug | debug, |
const QSGRhiShaderLinker::Constant & | c | ||
) |
Definition at line 145 of file qsgrhishadereffectnode.cpp.
References debug, and QSGShaderEffectNode::VariableData::None.
size_t qHash | ( | const QSGRhiShaderMaterialTypeCache::Key & | key, |
size_t | seed = 0 |
||
) |
Definition at line 194 of file qsgrhishadereffectnode.cpp.
References seed.
Definition at line 260 of file qsgrhishadereffectnode.cpp.
References QColor::fromRgbF().
Referenced by QSGRhiShaderEffectMaterialShader::updateUniformData().
|
static |
|
static |
Definition at line 199 of file qsgrhishadereffectnode.cpp.
Referenced by QSGRhiShaderEffectNode::garbageCollectMaterialTypeCache(), QSGRhiShaderMaterialTypeCache::ref(), QSGRhiShaderEffectNode::resetMaterialTypeCache(), and QSGRhiShaderMaterialTypeCache::unref().