java.lang.Object
io.qt.QFlags<QOpenGLTexture.Feature>
io.qt.opengl.QOpenGLTexture.Features
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QOpenGLTexture.Features>
- Enclosing class:
- QOpenGLTexture
public static final class QOpenGLTexture.Features
extends io.qt.QFlags<QOpenGLTexture.Feature>
implements Comparable<QOpenGLTexture.Features>
QFlags type for enum
QOpenGLTexture.Feature- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFeatures(int value) Creates a new Features with givenvalue.Features(QOpenGLTexture.Feature... args) Creates a new Features where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QOpenGLTexture.Featuresclone()Clones the flagsfinal QOpenGLTexture.FeaturesCombines this flags with enum entry.final intcompareTo(QOpenGLTexture.Features other) final QOpenGLTexture.Feature[]flags()Returns an array of flag objects represented by this Features.final QOpenGLTexture.FeaturesSets the flagefinal QOpenGLTexture.FeaturessetFlag(QOpenGLTexture.Feature e, boolean on) Sets or clears the flagflagMethods inherited from class io.qt.QFlags
clear, clear, clearAll, equals, flags, hashCode, isSet, isSet, set, set, setValue, testAnyFlags, testAnyFlags, testFlag, testFlags, testFlags, toInt, toString, value
-
Constructor Details
-
Features
Creates a new Features where the flags inargsare set.- Parameters:
args- enum entries
-
Features
public Features(int value) Creates a new Features with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classio.qt.QFlags<QOpenGLTexture.Feature>- Parameters:
e- enum entry- Returns:
- new Features
-
setFlag
Sets the flage- Overrides:
setFlagin classio.qt.QFlags<QOpenGLTexture.Feature>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classio.qt.QFlags<QOpenGLTexture.Feature>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this Features.- Overrides:
flagsin classio.qt.QFlags<QOpenGLTexture.Feature>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classio.qt.QFlags<QOpenGLTexture.Feature>
-
compareTo
- Specified by:
compareToin interfaceComparable<QOpenGLTexture.Features>
-