4#ifndef QSGVERTEXCOLORMATERIAL_H
5#define QSGVERTEXCOLORMATERIAL_H
7#include <QtQuick/qsgmaterial.h>
The QSGMaterialShader class represents a graphics API independent shader program.
The QSGMaterial class encapsulates rendering state for a shader program.
virtual QSGMaterialShader * createShader(QSGRendererInterface::RenderMode renderMode) const =0
This function returns a new instance of a the QSGMaterialShader implementation used to render geometr...
virtual int compare(const QSGMaterial *other) const
Compares this material to other and returns 0 if they are equal; -1 if this material should sort befo...
virtual QSGMaterialType * type() const =0
This function is called by the scene graph to query an identifier that is unique to the QSGMaterialSh...
RenderMode
\value RenderMode2D Normal 2D rendering \value RenderMode2DNoDepthBuffer Normal 2D rendering with dep...
The QSGVertexColorMaterial class provides a convenient way of rendering per-vertex colored geometry i...
Combined button and popup list for selecting options.
The QSGMaterialType class is used as a unique type token in combination with QSGMaterial.