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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ColorMask(int value)
Creates a new ColorMask with givenvalue
.ColorMask(QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent... args)
Creates a new ColorMask where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QSGMaterialRhiShader.GraphicsPipelineState.ColorMask
clone()
Clones the flagsQSGMaterialRhiShader.GraphicsPipelineState.ColorMask
combined(QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent e)
Combines this flags with enum entry.int
compareTo(QSGMaterialRhiShader.GraphicsPipelineState.ColorMask other)
QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent[]
flags()
Returns an array of flag objects represented by this ColorMask.QSGMaterialRhiShader.GraphicsPipelineState.ColorMask
setFlag(QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent e)
Sets the flage
QSGMaterialRhiShader.GraphicsPipelineState.ColorMask
setFlag(QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
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>
-