4#ifndef QSGMATERIALSHADER_P_H
5#define QSGMATERIALSHADER_P_H
18#include <private/qtquickglobal_p.h>
37 void clearCachedRendererData();
54 int qt_order_attrib_location = -1;
58 static const int MAX_SHADER_RESOURCE_BINDINGS = 32;
63 QRhiShaderResourceBinding::StageFlags combinedImageSamplerBindings[MAX_SHADER_RESOURCE_BINDINGS];
64 int combinedImageSamplerCount[MAX_SHADER_RESOURCE_BINDINGS];
QSGMaterialShader::Flags flags
QSGMaterialShader * q_ptr
static QSGMaterialShaderPrivate * get(QSGMaterialShader *s)
QByteArray masterUniformData
QRhiShaderResourceBinding::StageFlags ubufStages
static const QSGMaterialShaderPrivate * get(const QSGMaterialShader *s)
QShader shader(QShader::Stage stage) const
QHash< QShader::Stage, ShaderStageData > shaders
QHash< QShader::Stage, QString > shaderFileNames
The QSGMaterialShader class represents a graphics API independent shader program.
QShaderCode shader(const QShaderKey &key) const
Variant
Describes what kind of shader code an entry contains.
Stage
Describes the stage of the graphics pipeline the shader is suitable for.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLdouble GLdouble GLdouble GLdouble q
GLsizei GLsizei GLuint * shaders
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
QVector< int > vertexInputLocations
ShaderStageData(const QShader &shader)