Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qshader.cpp File Reference
#include "qshader_p.h"
#include <QDataStream>
#include <QBuffer>
+ Include dependency graph for qshader.cpp:

Go to the source code of this file.

Functions

static void writeShaderKey (QDataStream *ds, const QShaderKey &k)
 
static void readShaderKey (QDataStream *ds, QShaderKey *k)
 
QDebug operator<< (QDebug dbg, const QShader &bs)
 
QDebug operator<< (QDebug dbg, const QShaderKey &k)
 
QDebug operator<< (QDebug dbg, const QShaderVersion &v)
 

Function Documentation

◆ operator<<() [1/3]

QDebug operator<< ( QDebug  dbg,
const QShader bs 
)

Definition at line 919 of file qshader.cpp.

◆ operator<<() [2/3]

QDebug operator<< ( QDebug  dbg,
const QShaderKey k 
)

Definition at line 937 of file qshader.cpp.

References QShaderKey::source(), QShaderKey::sourceVariant(), and QShaderKey::sourceVersion().

+ Here is the call graph for this function:

◆ operator<<() [3/3]

QDebug operator<< ( QDebug  dbg,
const QShaderVersion v 
)

Definition at line 946 of file qshader.cpp.

◆ readShaderKey()

static void readShaderKey ( QDataStream ds,
QShaderKey k 
)
static

Definition at line 487 of file qshader.cpp.

References QShaderVersion::setFlags(), QShaderKey::setSource(), QShaderKey::setSourceVariant(), QShaderKey::setSourceVersion(), and QShaderVersion::setVersion().

Referenced by QShader::fromSerialized().

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

◆ writeShaderKey()

static void writeShaderKey ( QDataStream ds,
const QShaderKey k 
)
static

Definition at line 399 of file qshader.cpp.

References QShaderVersion::flags(), QShaderKey::source(), QShaderKey::sourceVariant(), QShaderKey::sourceVersion(), and QShaderVersion::version().

Referenced by QShader::serialized().

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