java.lang.Object
io.qt.QtObject
io.qt.quick.QSGMaterial
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QSGFlatColorMaterial
,QSGOpaqueTextureMaterial
,QSGVertexColorMaterial
Encapsulates rendering state for a shader program
Java wrapper for Qt class QSGMaterial
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSGMaterial::Flag
static final class
QFlags
type for enumQSGMaterial.Flag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(QSGMaterial other) abstract QSGMaterialShader
createShader
(QSGRendererInterface.RenderMode renderMode) 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()See
QSGMaterial::
QSGMaterial()
-
-
Method Details
-
flags
- Returns:
-
setFlag
- Parameters:
flags
-on
-
-
compare
- Parameters:
other
-- Returns:
-
createShader
@QtUninvokable public abstract QSGMaterialShader createShader(QSGRendererInterface.RenderMode renderMode) - Parameters:
renderMode
-- Returns:
-
type
- Returns:
-
setFlag
Overloaded function for
setFlag(io.qt.quick.QSGMaterial.Flags, boolean)
withon = true
.
-