Package com.luciad.drawing
Enum Class MipmapFilteringType
- All Implemented Interfaces:
Serializable
,Comparable<MipmapFilteringType>
,Constable
Mipmap filtering is a technique used to reduce the visual artifacts that occurs when a high resolution texture is rendered onto a small surface.
The system uses lower resolution textures (mipmaps) to better approximate the exact color.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDo not override the filtering mode and use the mode specified in the data.More advanced filtering mode: interpolate linearly between multiple level of mipmaps.Simplest filtering mode: only use the nearest fitted mipmap.No mipmap filtering is applied. -
Method Summary
Modifier and TypeMethodDescriptionstatic MipmapFilteringType
Returns the enum constant of this class with the specified name.static MipmapFilteringType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NoMipmapFiltering
No mipmap filtering is applied. -
NearestMipmapping
Simplest filtering mode: only use the nearest fitted mipmap. -
LinearMipmapping
More advanced filtering mode: interpolate linearly between multiple level of mipmaps. -
BasedOnData
Do not override the filtering mode and use the mode specified in the data.If the data does not define any mode then no mipmap filtering will be assumed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-