java.lang.Object
io.qt.QFlags<QSGMaterialShader.RenderState.DirtyState>
io.qt.quick.QSGMaterialShader.RenderState.DirtyStates
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QSGMaterialShader.RenderState.DirtyStates>
- Enclosing class:
QSGMaterialShader.RenderState
public static final class QSGMaterialShader.RenderState.DirtyStates
extends QFlags<QSGMaterialShader.RenderState.DirtyState>
implements Comparable<QSGMaterialShader.RenderState.DirtyStates>
QFlags type for enum
QSGMaterialShader.RenderState.DirtyState
- See Also:
-
Constructor Summary
ConstructorDescriptionDirtyStates
(int value) Creates a new DirtyStates with givenvalue
.Creates a new DirtyStates 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 DirtyStates.Sets the flage
setFlag
(QSGMaterialShader.RenderState.DirtyState e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
DirtyStates
Creates a new DirtyStates where the flags inargs
are set.- Parameters:
args
- enum entries
-
DirtyStates
public DirtyStates(int value) Creates a new DirtyStates with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QSGMaterialShader.RenderState.DirtyStates combined(QSGMaterialShader.RenderState.DirtyState e) Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QSGMaterialShader.RenderState.DirtyState>
- Parameters:
e
- enum entry- Returns:
- new DirtyStates
-
setFlag
public final QSGMaterialShader.RenderState.DirtyStates setFlag(QSGMaterialShader.RenderState.DirtyState e) Sets the flage
- Overrides:
setFlag
in classQFlags<QSGMaterialShader.RenderState.DirtyState>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QSGMaterialShader.RenderState.DirtyStates setFlag(QSGMaterialShader.RenderState.DirtyState e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QSGMaterialShader.RenderState.DirtyState>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this DirtyStates.- Overrides:
flags
in classQFlags<QSGMaterialShader.RenderState.DirtyState>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QSGMaterialShader.RenderState.DirtyState>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QSGMaterialShader.RenderState.DirtyStates>
-