java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.quick.QSGMaterial
io.qt.quick.QSGFlatColorMaterial
- All Implemented Interfaces:
QtObjectInterface
Convenient way of rendering solid colored geometry in the scene graph
Java wrapper for Qt's class QSGFlatColorMaterial
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.quick.QSGMaterial
QSGMaterial.Flag, QSGMaterial.Flags
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QColor
color()
int
compare
(QSGMaterial other) createShader
(QSGRendererInterface.RenderMode renderMode) final void
type()
Methods inherited from class io.qt.quick.QSGMaterial
flags, setFlag, setFlag
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
-