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

(b41e8dc8486a2fb312481d3675f04255bc8a1123)

#include "qsgmaterial.h"
#include "qsgrenderer_p.h"
#include "qsgmaterialshader_p.h"
#include <QtCore/QFile>
+ Include dependency graph for qsgmaterialshader.cpp:

Go to the source code of this file.

Functions

static QRhiShaderResourceBinding::StageFlags toSrbStage (QShader::Stage stage)
 
static QShader::Stage toShaderStage (QSGMaterialShader::Stage stage)
 

Function Documentation

◆ toShaderStage()

◆ toSrbStage()

static QRhiShaderResourceBinding::StageFlags toSrbStage ( QShader::Stage stage)
inlinestatic

Definition at line 184 of file qsgmaterialshader.cpp.

References QRhiShaderResourceBinding::FragmentStage, QShader::FragmentStage, QRhiShaderResourceBinding::VertexStage, and QShader::VertexStage.

Referenced by QSGMaterialShaderPrivate::prepare().

+ Here is the caller graph for this function: