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