Packagestarling.textures
Classpublic class TextureSmoothing
InheritanceTextureSmoothing Inheritance Object

A class that provides constant values for the possible smoothing algorithms of a texture.



Public Methods
 MethodDefined By
  
isValid(smoothing:String):Boolean
[static] Determines whether a smoothing value is valid.
TextureSmoothing
Public Constants
 ConstantDefined By
  BILINEAR : String = bilinear
[static] Bilinear filtering.
TextureSmoothing
  NONE : String = none
[static] No smoothing, also called "Nearest Neighbor".
TextureSmoothing
  TRILINEAR : String = trilinear
[static] Trilinear filtering.
TextureSmoothing
Method Detail
isValid()method
public static function isValid(smoothing:String):Boolean

Determines whether a smoothing value is valid.

Parameters

smoothing:String

Returns
Boolean
Constant Detail
BILINEARConstant
public static const BILINEAR:String = bilinear

Bilinear filtering. Creates smooth transitions between pixels.

NONEConstant 
public static const NONE:String = none

No smoothing, also called "Nearest Neighbor". Pixels will scale up as big rectangles.

TRILINEARConstant 
public static const TRILINEAR:String = trilinear

Trilinear filtering. Highest quality by taking the next mip map level into account.