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

(ee975a1361ab59ed289ed6355d5acc7ee686cccc)

#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_NO_KEYWORDS >
 

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 1218 of file qquickshadereffect.cpp.

References item.

Referenced by QQuickShaderEffectPrivate::propertyChanged().

+ Here is the caller graph for this function:

◆ indexToMappedId()

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

Definition at line 815 of file qquickshadereffect.cpp.

◆ mappedIdToIndex()

constexpr int mappedIdToIndex ( const int mappedId)
constexpr

Definition at line 820 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 825 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 1233 of file qquickshadereffect.cpp.

Referenced by QQuickWindow::releaseResources().

+ Here is the caller graph for this function: