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