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

(f9d7a3692bcbf1ce79755b212649dc6c432c88ec)

#include "qquick3deffect_p.h"
#include <ssg/qssgrendercontextcore.h>
#include <QtQuick3DRuntimeRender/private/qssgrendereffect_p.h>
#include <QtQuick3DRuntimeRender/private/qssgshadermaterialadapter_p.h>
#include <QtQuick3DUtils/private/qssgutils_p.h>
#include <QtQuick/qquickwindow.h>
#include <QtQuick3D/private/qquick3dobject_p.h>
#include <QtQuick3D/private/qquick3dscenemanager_p.h>
#include <QtCore/qfile.h>
#include <QtCore/qurl.h>
+ Include dependency graph for qquick3deffect.cpp:

Go to the source code of this file.

Functions

static void insertVertexMainArgs (QByteArray &snippet)
 

Variables

static const char * default_effect_vertex_shader
 
static const char * default_effect_fragment_shader
 

Function Documentation

◆ insertVertexMainArgs()

static void insertVertexMainArgs ( QByteArray & snippet)
inlinestatic

Definition at line 606 of file qquick3deffect.cpp.

References QByteArrayLiteral.

Referenced by QSSGMaterialVertexPipeline::beginVertexGeneration(), and QQuick3DEffect::updateSpatialNode().

+ Here is the caller graph for this function:

Variable Documentation

◆ default_effect_fragment_shader

const char* default_effect_fragment_shader
static
Initial value:
=
"void MAIN()\n"
"{\n"
"#if QSHADER_VIEW_COUNT >= 2\n"
" FRAGCOLOR = texture(INPUT, vec3(INPUT_UV, VIEW_INDEX));\n"
"#else\n"
" FRAGCOLOR = texture(INPUT, INPUT_UV);\n"
"#endif\n"
"}\n"

Definition at line 596 of file qquick3deffect.cpp.

Referenced by QQuick3DEffect::updateSpatialNode().

◆ default_effect_vertex_shader

const char* default_effect_vertex_shader
static
Initial value:
=
"void MAIN()\n"
"{\n"
"}\n"

Definition at line 591 of file qquick3deffect.cpp.

Referenced by QQuick3DEffect::updateSpatialNode().