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