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