4#ifndef QSGCURVESTROKENODE_P_P_H
5#define QSGCURVESTROKENODE_P_P_H
7#include <QtQuick/qtquickexports.h>
8#include <QtQuick/qsgmaterial.h>
31 setShaderFileName(VertexStage,
32 QStringLiteral(
":/qt-project.org/scenegraph/shaders_ng/shapestroke.vert.qsb"),
34 setShaderFileName(FragmentStage,
35 QStringLiteral(
":/qt-project.org/scenegraph/shaders_ng/shapestroke.frag.qsb"),
49 setFlag(Blending,
true);
QSGCurveStrokeMaterialShader(int viewCount)
QSGMaterialShader * createShader(QSGRendererInterface::RenderMode) const override
This function returns a new instance of a the QSGMaterialShader implementation used to render geometr...
QSGCurveStrokeNode * m_node
QSGCurveStrokeNode * node() const
QSGMaterialType * type() const override
This function is called by the scene graph to query an identifier that is unique to the QSGMaterialSh...
QSGCurveStrokeMaterial(QSGCurveStrokeNode *node)
The QSGMaterialShader class represents a graphics API independent shader program.
The QSGMaterial class encapsulates rendering state for a shader program.
RenderMode
\value RenderMode2D Normal 2D rendering \value RenderMode2DNoDepthBuffer Normal 2D rendering with dep...
Combined button and popup list for selecting options.
#define QStringLiteral(str)
static int compare(quint64 a, quint64 b)
The QSGMaterialType class is used as a unique type token in combination with QSGMaterial.