java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.quick.QSGMaterial
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QSGFlatColorMaterial
,QSGOpaqueTextureMaterial
,QSGVertexColorMaterial
public abstract class QSGMaterial extends QtObject
Encapsulates rendering state for a shader program
Java wrapper for Qt class QSGMaterial
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QSGMaterial.Flag
Java wrapper for Qt enum QSGMaterial::Flagstatic class
QSGMaterial.Flags
QFlags type for enumQSGMaterial.Flag
-
Constructor Summary
Constructors Modifier Constructor Description QSGMaterial()
protected
QSGMaterial(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description int
compare(QSGMaterial other)
abstract QSGMaterialShader
createShader(QSGRendererInterface.RenderMode renderMode)
QSGMaterial.Flags
flags()
void
setFlag(QSGMaterial.Flags flags)
Overloaded function forsetFlag(io.qt.quick.QSGMaterial.Flags, boolean)
withon = true
.void
setFlag(QSGMaterial.Flags flags, boolean on)
abstract QSGMaterialType
type()
-
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
@QtUninvokable public abstract QSGMaterialShader createShader(QSGRendererInterface.RenderMode renderMode) -
type
-