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

(c3dbb5b6f6884dfea690d3ad08f7442b7d0084d8)

#include "qssgrendershadercodegenerator_p.h"
#include <QtQuick3DUtils/private/qssgutils_p.h>
#include "qssgrendercontextcore.h"
#include <QtQuick3DRuntimeRender/private/qssgrendershaderlibrarymanager_p.h>
#include <QtQuick3DRuntimeRender/private/qssgshaderresourcemergecontext_p.h>
+ Include dependency graph for qssgrendershadercodegenerator.cpp:

Go to the source code of this file.

Classes

struct  QSSGShaderGeneratedProgramOutput
 

Functions

template<typename T >
static QT_BEGIN_NAMESPACE void addStartCond (QByteArray &block, const T &var)
 
template<typename T >
static void addEndCond (QByteArray &block, const T &var)
 

Function Documentation

◆ addEndCond()

template<typename T >
static void addEndCond ( QByteArray & block,
const T & var )
inlinestatic

Definition at line 27 of file qssgrendershadercodegenerator.cpp.

References QSSGRenderShaderMetadata::Uniform::None, QByteArrayLiteral, and var.

Referenced by QSSGStageGeneratorBase::buildShaderSourcePass2().

+ Here is the caller graph for this function:

◆ addStartCond()

template<typename T >
static QT_BEGIN_NAMESPACE void addStartCond ( QByteArray & block,
const T & var )
inlinestatic

Definition at line 16 of file qssgrendershadercodegenerator.cpp.

References QString::asprintf(), QVariant::constData(), QSSGRenderShaderMetadata::Uniform::Negated, QSSGRenderShaderMetadata::Uniform::Regular, and var.

Referenced by QSSGStageGeneratorBase::buildShaderSourcePass2().

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