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