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