java.lang.Object
io.qt.QtObject
io.qt.quick.QSGMaterial
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QSGFlatColorMaterial
,QSGOpaqueTextureMaterial
,QSGSimpleMaterial
,QSGVertexColorMaterial
Encapsulates rendering state for a shader program
Java wrapper for Qt's class QSGMaterial
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QSGMaterial::Flagstatic final class
QFlags type for enumQSGMaterial.Flag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(QSGMaterial other) abstract QSGMaterialShader
final QSGMaterial.Flags
flags()
final void
setFlag
(QSGMaterial.Flags flags) Overloaded function forsetFlag(io.qt.quick.QSGMaterial.Flags, boolean)
withon = true
.final void
setFlag
(QSGMaterial.Flags flags, boolean on) abstract QSGMaterialType
type()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGMaterial
public QSGMaterial() -
QSGMaterial
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
flags
-
setFlag
Overloaded function for
setFlag(io.qt.quick.QSGMaterial.Flags, boolean)
withon = true
. -
setFlag
-
compare
-
createShader
-
type
-