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