java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.quick.QSGMaterial
io.qt.quick.QSGFlatColorMaterial
- All Implemented Interfaces:
QtObjectInterface
public class QSGFlatColorMaterial extends QSGMaterial
Convenient way of rendering solid colored geometry in the scene graph
Java wrapper for Qt class QSGFlatColorMaterial
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.quick.QSGMaterial
QSGMaterial.Flag, QSGMaterial.Flags
-
Constructor Summary
Constructors Modifier Constructor Description QSGFlatColorMaterial()
protected
QSGFlatColorMaterial(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QColor
color()
int
compare(QSGMaterial other)
QSGMaterialShader
createShader(QSGRendererInterface.RenderMode renderMode)
void
setColor(QColor color)
QSGMaterialType
type()
-
Constructor Details
-
QSGFlatColorMaterial
public QSGFlatColorMaterial() -
QSGFlatColorMaterial
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
color
-
setColor
-
compare
- Overrides:
compare
in classQSGMaterial
-
createShader
- Specified by:
createShader
in classQSGMaterial
-
type
- Specified by:
type
in classQSGMaterial
-