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