java.lang.Object
io.qt.QFlags<QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent>
io.qt.quick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMask
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QSGMaterialRhiShader.GraphicsPipelineState.ColorMask>
- Enclosing class:
- QSGMaterialRhiShader.GraphicsPipelineState
public static final class QSGMaterialRhiShader.GraphicsPipelineState.ColorMask
extends QFlags<QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent>
implements Comparable<QSGMaterialRhiShader.GraphicsPipelineState.ColorMask>
QFlags type for enum
QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent
- 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 QSGMaterialRhiShader.GraphicsPipelineState.ColorMask combined(QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent e) Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent>
- Parameters:
e
- enum entry- Returns:
- new ColorMask
-
setFlag
public final QSGMaterialRhiShader.GraphicsPipelineState.ColorMask setFlag(QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent e) Sets the flage
- Overrides:
setFlag
in classQFlags<QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QSGMaterialRhiShader.GraphicsPipelineState.ColorMask setFlag(QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QSGMaterialRhiShader.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<QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QSGMaterialRhiShader.GraphicsPipelineState.ColorMask>
-