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
ConstructorDescriptionCreates a new ColorMask.ColorMask
(int value) Creates a new ColorMask with givenvalue
.Creates a new ColorMask where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
flags()
Returns an array of flag objects represented by this ColorMask.Sets the flage
Sets or clears the flagflag
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
ColorMask
public ColorMask()Creates a new ColorMask. -
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>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value
- new value
-