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