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>
- See Also:
-
Constructor Summary
ConstructorDescriptionColorMask
(int value) Creates a new ColorMask with givenvalue
.Creates a new ColorMask where the flags inargs
are set. -
Method Summary
-
Constructor Details
-
ColorMask
Creates a new ColorMask where the flags inargs
are set.- Parameters:
args
- enum entries
-
ColorMask
public ColorMask(int value) Creates a new ColorMask with givenvalue
.- Parameters:
value
-
-
-
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>
-