- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QSGRenderNode.RenderingFlags>
- Enclosing class:
- QSGRenderNode
public static final class QSGRenderNode.RenderingFlags
extends QFlags<QSGRenderNode.RenderingFlag>
implements Comparable<QSGRenderNode.RenderingFlags>
QFlags type for enum
QSGRenderNode.RenderingFlag
- See Also:
-
Constructor Summary
ConstructorDescriptionRenderingFlags
(int value) Creates a new RenderingFlags with givenvalue
.Creates a new RenderingFlags where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QSGRenderNode.RenderingFlag[]
flags()
Returns an array of flag objects represented by this RenderingFlags.Sets the flage
setFlag
(QSGRenderNode.RenderingFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
RenderingFlags
Creates a new RenderingFlags where the flags inargs
are set.- Parameters:
args
- enum entries
-
RenderingFlags
public RenderingFlags(int value) Creates a new RenderingFlags with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QSGRenderNode.RenderingFlag>
- Parameters:
e
- enum entry- Returns:
- new RenderingFlags
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QSGRenderNode.RenderingFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QSGRenderNode.RenderingFlag>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this RenderingFlags.- Overrides:
flags
in classQFlags<QSGRenderNode.RenderingFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QSGRenderNode.RenderingFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QSGRenderNode.RenderingFlags>
-