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