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

(35479bd217476bd6b38f86d82b90e8655255f67d)

#include "qssgrendercontextcore.h"
#include <QtQuick3DRuntimeRender/private/qssgrenderskymaterial_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendererimplshaders_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrhieffectsystem_p.h>
#include <QtQuick3DRuntimeRender/private/qssgshadermaterialadapter_p.h>
#include <QtCore/qhash.h>
#include <QtCore/qspan.h>
#include <QtGui/qvector4d.h>
#include <rhi/qshaderbaker.h>
#include <algorithm>
Include dependency graph for qssgrenderskymaterial.cpp:

Go to the source code of this file.

Variables

static QT_BEGIN_NAMESPACE const char * vertexShaderStr
static const char * mainFragmentSnippet
static const char * debugFragStr

Variable Documentation

◆ debugFragStr

const char * debugFragStr
static

Definition at line 41 of file qssgrenderskymaterial.cpp.

◆ mainFragmentSnippet

const char * mainFragmentSnippet
static
Initial value:
= R"(
void main()
{
qt_customMain();
}
)"

Definition at line 32 of file qssgrenderskymaterial.cpp.

◆ vertexShaderStr

QT_BEGIN_NAMESPACE const char * vertexShaderStr
static
Initial value:
= R"(
void main()
{
vec4 qt_vertPosition = vec4(attr_pos, 1.0);
qt_eyeDir = qt_vertPosition.xyz;
gl_Position = qt_projectionMatrix * qt_viewMatrix * vec4(qt_eyeDir, 1.0);
}
)"

Definition at line 22 of file qssgrenderskymaterial.cpp.