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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DirtyStates(int value)
Creates a new DirtyStates with givenvalue
.DirtyStates(QSGMaterialShader.RenderState.DirtyState... args)
Creates a new DirtyStates where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QSGMaterialShader.RenderState.DirtyStates
clone()
Clones the flagsQSGMaterialShader.RenderState.DirtyStates
combined(QSGMaterialShader.RenderState.DirtyState e)
Combines this flags with enum entry.int
compareTo(QSGMaterialShader.RenderState.DirtyStates other)
QSGMaterialShader.RenderState.DirtyState[]
flags()
Returns an array of flag objects represented by this DirtyStates.QSGMaterialShader.RenderState.DirtyStates
setFlag(QSGMaterialShader.RenderState.DirtyState e)
Sets the flage
QSGMaterialShader.RenderState.DirtyStates
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>
-