Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickshadereffect.cpp File Reference
#include <private/qquickshadereffect_p_p.h>
#include <private/qsgcontextplugin_p.h>
#include <private/qsgrhisupport_p.h>
#include <private/qquickwindow_p.h>
#include "moc_qquickshadereffect_p.cpp"
+ Include dependency graph for qquickshadereffect.cpp:

Go to the source code of this file.

Classes

class  QtPrivate::EffectSlotMapper
 

Namespaces

namespace  QtPrivate
 \macro QT_NAMESPACE
 

Typedefs

using QQuickShaderInfoCache = QHash< QUrl, QSGGuiThreadShaderEffectManager::ShaderInfo >
 

Functions

constexpr int indexToMappedId (const int shaderType, const int idx)
 
constexpr int mappedIdToIndex (const int mappedId)
 
constexpr int mappedIdToShaderType (const int mappedId)
 
static QVariant getValueFromProperty (QObject *item, const QMetaObject *itemMetaObject, const QByteArray &name, int propertyIndex)
 
void qtquick_shadereffect_purge_gui_thread_shader_cache ()
 

Typedef Documentation

◆ QQuickShaderInfoCache

Function Documentation

◆ getValueFromProperty()

static QVariant getValueFromProperty ( QObject item,
const QMetaObject itemMetaObject,
const QByteArray name,
int  propertyIndex 
)
inlinestatic

Definition at line 1205 of file qquickshadereffect.cpp.

References item, QMetaObject::property(), and QMetaProperty::read().

Referenced by QQuickShaderEffectPrivate::propertyChanged().

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

◆ indexToMappedId()

constexpr int indexToMappedId ( const int  shaderType,
const int  idx 
)
constexpr

Definition at line 806 of file qquickshadereffect.cpp.

◆ mappedIdToIndex()

constexpr int mappedIdToIndex ( const int  mappedId)
constexpr

Definition at line 811 of file qquickshadereffect.cpp.

Referenced by QQuickShaderEffectPrivate::propertyChanged(), and QQuickShaderEffectPrivate::updateUniformValue().

+ Here is the caller graph for this function:

◆ mappedIdToShaderType()

constexpr int mappedIdToShaderType ( const int  mappedId)
constexpr

Definition at line 816 of file qquickshadereffect.cpp.

Referenced by QQuickShaderEffectPrivate::propertyChanged(), and QQuickShaderEffectPrivate::updateUniformValue().

+ Here is the caller graph for this function:

◆ qtquick_shadereffect_purge_gui_thread_shader_cache()

void qtquick_shadereffect_purge_gui_thread_shader_cache ( )

Definition at line 1220 of file qquickshadereffect.cpp.

Referenced by QQuickWindow::releaseResources().

+ Here is the caller graph for this function: