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

(2a6151097e0dffc3722023b206c35d6535354096)

#include "qquickshadereffectsource_p.h"
#include "qquickitem_p.h"
#include "qquickwindow_p.h"
#include <private/qsgadaptationlayer_p.h>
#include <QtQuick/private/qsgrenderer_p.h>
#include <qsgsimplerectnode.h>
#include "qmath.h"
#include <QtQuick/private/qsgtexture_p.h>
#include <QtCore/QRunnable>
#include "qquickshadereffectsource.moc"
#include "moc_qquickshadereffectsource_p.cpp"
+ Include dependency graph for qquickshadereffectsource.cpp:

Go to the source code of this file.

Classes

class  QQuickShaderEffectSourceTextureProvider
 
class  QQuickShaderEffectSourceCleanup
 
class  QQuickShaderSourceAttachedNode
 

Functions

static void get_wrap_mode (QQuickShaderEffectSource::WrapMode mode, QSGTexture::WrapMode *hWrap, QSGTexture::WrapMode *vWrap)
 
static QSGLayer::Format toLayerFormat (QQuickShaderEffectSource::Format format)
 

Function Documentation

◆ get_wrap_mode()

static void get_wrap_mode ( QQuickShaderEffectSource::WrapMode mode,
QSGTexture::WrapMode * hWrap,
QSGTexture::WrapMode * vWrap )
static

Definition at line 595 of file qquickshadereffectsource.cpp.

References QSGTexture::ClampToEdge, QQuickShaderEffectSource::Repeat, QSGTexture::Repeat, QQuickShaderEffectSource::RepeatHorizontally, and QQuickShaderEffectSource::RepeatVertically.

Referenced by QQuickShaderEffectSource::textureProvider(), and QQuickShaderEffectSource::updatePaintNode().

+ Here is the caller graph for this function:

◆ toLayerFormat()

static QSGLayer::Format toLayerFormat ( QQuickShaderEffectSource::Format format)
static

Definition at line 640 of file qquickshadereffectsource.cpp.

References QQuickShaderEffectSource::RGBA16F, QSGLayer::RGBA16F, QQuickShaderEffectSource::RGBA32F, QSGLayer::RGBA32F, QQuickShaderEffectSource::RGBA8, and QSGLayer::RGBA8.

Referenced by QQuickShaderEffectSource::updatePaintNode().

+ Here is the caller graph for this function: