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

(89d89f99a794d8edf9282e76a95f78c28ab4d932)

#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 949 of file qshader.cpp.

◆ operator<<() [2/3]

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

Definition at line 967 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 976 of file qshader.cpp.

◆ readShaderKey()

static void readShaderKey ( QDataStream * ds,
QShaderKey * k )
static

Definition at line 517 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 429 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: