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