QSGFlatColorMaterial ClassThe QSGFlatColorMaterial class provides a convenient way of rendering solid colored geometry in the scene graph. More... #include <QSGFlatColorMaterial> Inherits: QSGMaterial. Public Types
Public Functions
Reimplemented Public Functions
Detailed DescriptionThe QSGFlatColorMaterial class provides a convenient way of rendering solid colored geometry in the scene graph. The flat color material will fill every pixel in a geometry using a solid color. The color can contain transparency. The geometry to be rendered with a flat color material requires vertices in attribute location 0 in the QSGGeometry object to render correctly. The QSGGeometry::defaultAttributes_Point2D() returns an attribute set compatible with this material. The flat color material respects both current opacity and current matrix when updating it's rendering state. Member Function Documentation
|