java.lang.Object
io.qt.QtObject
io.qt.quick.QSGMaterial
io.qt.quick.QSGSimpleMaterial<State>
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QSGSimpleMaterialComparableMaterial
The QSGSimpleMaterial class is a template generated class used to store the state used with a QSGSimpleMateralShader.
Java wrapper for Qt class QSGSimpleMaterial
Warning: This utility class is only functional when running with the legacy OpenGL renderer of the Qt Quick scenegraph. Its usage is not recommended in new application code.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.quick.QSGMaterial
QSGMaterial.Flag, QSGMaterial.Flags
-
Constructor Summary
ConstructorDescriptionQSGSimpleMaterial
(State aState, Supplier<QSGMaterialShader> func) QSGSimpleMaterial
(Class<State> type, Supplier<QSGMaterialShader> func) -
Method Summary
Methods inherited from class io.qt.quick.QSGMaterial
compare, flags, setFlag, setFlag
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGSimpleMaterial
-
QSGSimpleMaterial
-
-
Method Details
-
createShader
Description copied from class:QSGMaterial
- Specified by:
createShader
in classQSGMaterial
- Returns:
-
type
Description copied from class:QSGMaterial
- Specified by:
type
in classQSGMaterial
- Returns:
-
state
Returns the state
-