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

(d404328649023bfbf448cbc80bdc0b4604f77c63)

#include <QtQuick3DRuntimeRender/private/qssgshadermaterialadapter_p.h>
#include "qssgrendercontextcore.h"
#include "private/qssgrenderbuffer_p.h"
#include <QtQuick3DRuntimeRender/private/qssgrhicustommaterialsystem_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendershadertokenizer_p.h>
#include <QRegularExpression>
Include dependency graph for qssgshadermaterialadapter.cpp:

Go to the source code of this file.

Functions

static QByteArray toJsonStringContent (const QByteArray &text)
static qsizetype findMetadata (const QByteArray &typetype, const QByteArrayList &metadata, const QByteArray &namename)
static qsizetype findProperty (const QList< QSSGBaseTypeProperty > &propsprops, const QByteArray &namename)
bool processMetadata (QList< QSSGBaseTypeProperty > &propsprops, const QByteArrayList &metadata, QByteArrayList &stageMetadata, QByteArray &shaderData)

Function Documentation

◆ findMetadata()

qsizetype findMetadata ( const QByteArray & type,
const QByteArrayList & metadata,
const QByteArray & name )
static

Definition at line 1421 of file qssgshadermaterialadapter.cpp.

◆ findProperty()

qsizetype findProperty ( const QList< QSSGBaseTypeProperty > & props,
const QByteArray & name )
static

Definition at line 1430 of file qssgshadermaterialadapter.cpp.

◆ processMetadata()

bool processMetadata ( QList< QSSGBaseTypeProperty > & props,
const QByteArrayList & metadata,
QByteArrayList & stageMetadata,
QByteArray & shaderData )

Definition at line 1439 of file qssgshadermaterialadapter.cpp.

◆ toJsonStringContent()

QByteArray toJsonStringContent ( const QByteArray & text)
static

Definition at line 1213 of file qssgshadermaterialadapter.cpp.