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