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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ShaderCompilationTypes(int value)
Creates a new ShaderCompilationTypes with givenvalue
.ShaderCompilationTypes(QSGRendererInterface.ShaderCompilationType... args)
Creates a new ShaderCompilationTypes where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QSGRendererInterface.ShaderCompilationTypes
clone()
Clones the flagsQSGRendererInterface.ShaderCompilationTypes
combined(QSGRendererInterface.ShaderCompilationType e)
Combines this flags with enum entry.int
compareTo(QSGRendererInterface.ShaderCompilationTypes other)
QSGRendererInterface.ShaderCompilationType[]
flags()
Returns an array of flag objects represented by this ShaderCompilationTypes.QSGRendererInterface.ShaderCompilationTypes
setFlag(QSGRendererInterface.ShaderCompilationType e)
Sets the flage
QSGRendererInterface.ShaderCompilationTypes
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>
-