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
QSGRhiShaderLinker Class Reference

#include <qsgrhishadereffectnode_p.h>

Collaboration diagram for QSGRhiShaderLinker:

Classes

struct  Constant

Public Member Functions

void reset (const QShader &vs, const QShader &fs)
void feedConstants (const QSGShaderEffectNode::ShaderData &shader, const QSet< int > *dirtyIndices=nullptr)
void feedSamplers (const QSGShaderEffectNode::ShaderData &shader, const QSet< int > *dirtyIndices=nullptr)
void linkTextureSubRects ()
void dump ()

Public Attributes

bool m_error
QShader m_vs
QShader m_fs
QHash< uint, Constantm_constants
QHash< int, QVariantm_samplers
QHash< QByteArray, int > m_samplerNameMap
QSet< int > m_subRectBindings

Detailed Description

Definition at line 29 of file qsgrhishadereffectnode_p.h.

Member Function Documentation

◆ dump()

void QSGRhiShaderLinker::dump ( )

Definition at line 136 of file qsgrhishadereffectnode.cpp.

References m_error.

◆ feedConstants()

void QSGRhiShaderLinker::feedConstants ( const QSGShaderEffectNode::ShaderData & shader,
const QSet< int > * dirtyIndices = nullptr )

Definition at line 40 of file qsgrhishadereffectnode.cpp.

◆ feedSamplers()

void QSGRhiShaderLinker::feedSamplers ( const QSGShaderEffectNode::ShaderData & shader,
const QSet< int > * dirtyIndices = nullptr )

Definition at line 83 of file qsgrhishadereffectnode.cpp.

◆ linkTextureSubRects()

void QSGRhiShaderLinker::linkTextureSubRects ( )

Definition at line 117 of file qsgrhishadereffectnode.cpp.

◆ reset()

QT_BEGIN_NAMESPACE void QSGRhiShaderLinker::reset ( const QShader & vs,
const QShader & fs )

Definition at line 21 of file qsgrhishadereffectnode.cpp.

References m_error.

Member Data Documentation

◆ m_constants

QHash<uint, Constant> QSGRhiShaderLinker::m_constants

Definition at line 53 of file qsgrhishadereffectnode_p.h.

◆ m_error

bool QSGRhiShaderLinker::m_error

Definition at line 50 of file qsgrhishadereffectnode_p.h.

Referenced by dump(), and reset().

◆ m_fs

QShader QSGRhiShaderLinker::m_fs

Definition at line 52 of file qsgrhishadereffectnode_p.h.

◆ m_samplerNameMap

QHash<QByteArray, int> QSGRhiShaderLinker::m_samplerNameMap

Definition at line 55 of file qsgrhishadereffectnode_p.h.

◆ m_samplers

QHash<int, QVariant> QSGRhiShaderLinker::m_samplers

Definition at line 54 of file qsgrhishadereffectnode_p.h.

◆ m_subRectBindings

QSet<int> QSGRhiShaderLinker::m_subRectBindings

Definition at line 56 of file qsgrhishadereffectnode_p.h.

◆ m_vs

QShader QSGRhiShaderLinker::m_vs

Definition at line 51 of file qsgrhishadereffectnode_p.h.


The documentation for this class was generated from the following files: