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

(4cdc82417c3858950dbd419d62cd403b23ecbb4d)

#include "qssgvertexpipelineimpl_p.h"
#include <QtQuick3DRuntimeRender/private/qssgrenderer_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderlight_p.h>
#include "../qssgrendercontextcore.h"
#include <QtQuick3DRuntimeRender/private/qssgrendershadercache_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendershaderlibrarymanager_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendershadercodegenerator_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderdefaultmaterialshadergenerator_p.h>
#include <QtQuick3DRuntimeRender/private/qssgshadermaterialadapter_p.h>
+ Include dependency graph for qssgvertexpipelineimpl.cpp:

Go to the source code of this file.

Functions

static void insertProcessorArgs (QByteArray &snippet, const char *argKey, const char *(*argListFunc)(), QSSGShaderMaterialAdapter *materialAdapter=nullptr, bool isSharedInout=false)
 
static void insertDirectionalLightProcessorArgs (QByteArray &snippet, QSSGShaderMaterialAdapter *materialAdapter)
 
static void insertPointLightProcessorArgs (QByteArray &snippet, QSSGShaderMaterialAdapter *materialAdapter)
 
static void insertSpotLightProcessorArgs (QByteArray &snippet, QSSGShaderMaterialAdapter *materialAdapter)
 
static void insertAmbientLightProcessorArgs (QByteArray &snippet, QSSGShaderMaterialAdapter *materialAdapter)
 
static void insertIblProbeProcessorArgs (QByteArray &snippet, QSSGShaderMaterialAdapter *materialAdapter)
 
static void insertSpecularLightProcessorArgs (QByteArray &snippet, QSSGShaderMaterialAdapter *materialAdapter)
 
static void insertFragmentMainArgs (QByteArray &snippet, QSSGShaderMaterialAdapter *materialAdapter)
 
static void insertPostProcessorArgs (QByteArray &snippet, QSSGShaderMaterialAdapter *materialAdapter)
 
static void insertVertexMainArgs (QByteArray &snippet)
 
static void insertVertexInstancedMainArgs (QByteArray &snippet)
 
static const char * customMainCallWithArguments (bool usesInstancing)
 

Function Documentation

◆ customMainCallWithArguments()

static const char * customMainCallWithArguments ( bool usesInstancing)
inlinestatic

Definition at line 105 of file qssgvertexpipelineimpl.cpp.

Referenced by QSSGMaterialVertexPipeline::beginVertexGeneration(), and QSSGMaterialVertexPipeline::endVertexGeneration().

+ Here is the caller graph for this function:

◆ insertAmbientLightProcessorArgs()

static void insertAmbientLightProcessorArgs ( QByteArray & snippet,
QSSGShaderMaterialAdapter * materialAdapter )
inlinestatic

Definition at line 70 of file qssgvertexpipelineimpl.cpp.

References QSSGMaterialShaderGenerator::ambientLightProcessorArgumentList(), and insertProcessorArgs().

Referenced by QSSGMaterialVertexPipeline::beginFragmentGeneration().

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

◆ insertDirectionalLightProcessorArgs()

static void insertDirectionalLightProcessorArgs ( QByteArray & snippet,
QSSGShaderMaterialAdapter * materialAdapter )
inlinestatic

Definition at line 55 of file qssgvertexpipelineimpl.cpp.

References QSSGMaterialShaderGenerator::directionalLightProcessorArgumentList(), and insertProcessorArgs().

Referenced by QSSGMaterialVertexPipeline::beginFragmentGeneration().

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

◆ insertFragmentMainArgs()

static void insertFragmentMainArgs ( QByteArray & snippet,
QSSGShaderMaterialAdapter * materialAdapter )
inlinestatic

Definition at line 85 of file qssgvertexpipelineimpl.cpp.

References insertProcessorArgs(), and QSSGMaterialShaderGenerator::shadedFragmentMainArgumentList().

Referenced by QSSGMaterialVertexPipeline::beginFragmentGeneration().

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

◆ insertIblProbeProcessorArgs()

static void insertIblProbeProcessorArgs ( QByteArray & snippet,
QSSGShaderMaterialAdapter * materialAdapter )
inlinestatic

Definition at line 75 of file qssgvertexpipelineimpl.cpp.

References QSSGMaterialShaderGenerator::iblProbeProcessorArgumentList(), and insertProcessorArgs().

Referenced by QSSGMaterialVertexPipeline::beginFragmentGeneration().

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

◆ insertPointLightProcessorArgs()

static void insertPointLightProcessorArgs ( QByteArray & snippet,
QSSGShaderMaterialAdapter * materialAdapter )
inlinestatic

Definition at line 60 of file qssgvertexpipelineimpl.cpp.

References insertProcessorArgs(), and QSSGMaterialShaderGenerator::pointLightProcessorArgumentList().

Referenced by QSSGMaterialVertexPipeline::beginFragmentGeneration().

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

◆ insertPostProcessorArgs()

static void insertPostProcessorArgs ( QByteArray & snippet,
QSSGShaderMaterialAdapter * materialAdapter )
inlinestatic

Definition at line 90 of file qssgvertexpipelineimpl.cpp.

References insertProcessorArgs(), and QSSGMaterialShaderGenerator::postProcessorArgumentList().

Referenced by QSSGMaterialVertexPipeline::beginFragmentGeneration().

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

◆ insertProcessorArgs()

static void insertProcessorArgs ( QByteArray & snippet,
const char * argKey,
const char *(*)() argListFunc,
QSSGShaderMaterialAdapter * materialAdapter = nullptr,
bool isSharedInout = false )
inlinestatic

◆ insertSpecularLightProcessorArgs()

static void insertSpecularLightProcessorArgs ( QByteArray & snippet,
QSSGShaderMaterialAdapter * materialAdapter )
inlinestatic

Definition at line 80 of file qssgvertexpipelineimpl.cpp.

References insertProcessorArgs(), and QSSGMaterialShaderGenerator::specularLightProcessorArgumentList().

Referenced by QSSGMaterialVertexPipeline::beginFragmentGeneration().

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

◆ insertSpotLightProcessorArgs()

static void insertSpotLightProcessorArgs ( QByteArray & snippet,
QSSGShaderMaterialAdapter * materialAdapter )
inlinestatic

Definition at line 65 of file qssgvertexpipelineimpl.cpp.

References insertProcessorArgs(), and QSSGMaterialShaderGenerator::spotLightProcessorArgumentList().

Referenced by QSSGMaterialVertexPipeline::beginFragmentGeneration().

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

◆ insertVertexInstancedMainArgs()

static void insertVertexInstancedMainArgs ( QByteArray & snippet)
inlinestatic

Definition at line 100 of file qssgvertexpipelineimpl.cpp.

References insertProcessorArgs(), and QSSGMaterialShaderGenerator::vertexInstancedMainArgumentList().

Referenced by QSSGMaterialVertexPipeline::beginVertexGeneration().

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

◆ insertVertexMainArgs()

static void insertVertexMainArgs ( QByteArray & snippet)
inlinestatic

Definition at line 95 of file qssgvertexpipelineimpl.cpp.

References insertProcessorArgs(), and QSSGMaterialShaderGenerator::vertexMainArgumentList().

+ Here is the call graph for this function: