- 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
ConstructorsConstructorDescriptionCreates a new EndFrameFlags.EndFrameFlags
(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
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
EndFrameFlags
public EndFrameFlags()Creates a new EndFrameFlags. -
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>
-
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
-