java.lang.Object
io.qt.QFlags<QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent>
io.qt.quick.QSGMaterialShader.GraphicsPipelineState.ColorMask
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QSGMaterialShader.GraphicsPipelineState.ColorMask>
- Enclosing class:
- QSGMaterialShader.GraphicsPipelineState
public static final class QSGMaterialShader.GraphicsPipelineState.ColorMask extends QFlags<QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent> implements Comparable<QSGMaterialShader.GraphicsPipelineState.ColorMask>
QFlags type for enum
QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ColorMask(int value)
Creates a new ColorMask with givenvalue
.ColorMask(QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent... args)
Creates a new ColorMask where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QSGMaterialShader.GraphicsPipelineState.ColorMask
clone()
Clones the flagsQSGMaterialShader.GraphicsPipelineState.ColorMask
combined(QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent e)
Combines this flags with enum entry.int
compareTo(QSGMaterialShader.GraphicsPipelineState.ColorMask other)
QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent[]
flags()
Returns an array of flag objects represented by this ColorMask.QSGMaterialShader.GraphicsPipelineState.ColorMask
setFlag(QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent e)
Sets the flage
QSGMaterialShader.GraphicsPipelineState.ColorMask
setFlag(QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
Method Details
-
combined
public final QSGMaterialShader.GraphicsPipelineState.ColorMask combined(QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent e)Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent>
- Parameters:
e
- enum entry- Returns:
- new ColorMask
-
setFlag
public final QSGMaterialShader.GraphicsPipelineState.ColorMask setFlag(QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent e)Sets the flage
- Overrides:
setFlag
in classQFlags<QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QSGMaterialShader.GraphicsPipelineState.ColorMask setFlag(QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent e, boolean on)Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this ColorMask.- Overrides:
flags
in classQFlags<QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QSGMaterialShader.GraphicsPipelineState.ColorMaskComponent>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QSGMaterialShader.GraphicsPipelineState.ColorMask>
-