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

(60ed78ac35168fcbb6f6662a76d70149050164cd)

#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)(), bool usesShared=false, bool isSharedInout=false)
 
static void insertDirectionalLightProcessorArgs (QByteArray &snippet, bool usesShared)
 
static void insertPointLightProcessorArgs (QByteArray &snippet, bool usesShared)
 
static void insertSpotLightProcessorArgs (QByteArray &snippet, bool usesShared)
 
static void insertAmbientLightProcessorArgs (QByteArray &snippet, bool usesShared)
 
static void insertIblProbeProcessorArgs (QByteArray &snippet, bool usesShared)
 
static void insertSpecularLightProcessorArgs (QByteArray &snippet, bool usesShared)
 
static void insertFragmentMainArgs (QByteArray &snippet, bool usesShared=false)
 
static void insertPostProcessorArgs (QByteArray &snippet, bool usesShared)
 
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 93 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,
bool usesShared )
inlinestatic

Definition at line 58 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,
bool usesShared )
inlinestatic

Definition at line 43 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,
bool usesShared = false )
inlinestatic

Definition at line 73 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,
bool usesShared )
inlinestatic

Definition at line 63 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,
bool usesShared )
inlinestatic

Definition at line 48 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,
bool usesShared )
inlinestatic

Definition at line 78 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,
bool usesShared = false,
bool isSharedInout = false )
inlinestatic

◆ insertSpecularLightProcessorArgs()

static void insertSpecularLightProcessorArgs ( QByteArray & snippet,
bool usesShared )
inlinestatic

Definition at line 68 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,
bool usesShared )
inlinestatic

Definition at line 53 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 88 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 83 of file qssgvertexpipelineimpl.cpp.

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

+ Here is the call graph for this function: