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