| Package | starling.textures |
| Class | public class TextureSmoothing |
| Inheritance | TextureSmoothing Object |
| Method | Defined By | ||
|---|---|---|---|
isValid(smoothing:String):Boolean [static] Determines whether a smoothing value is valid. | TextureSmoothing | ||
| Constant | Defined 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 | ||
| isValid | () | method |
public static function isValid(smoothing:String):BooleanDetermines whether a smoothing value is valid.
Parameters
smoothing:String |
Boolean |
| BILINEAR | Constant |
public static const BILINEAR:String = bilinearBilinear filtering. Creates smooth transitions between pixels.
| NONE | Constant |
public static const NONE:String = noneNo smoothing, also called "Nearest Neighbor". Pixels will scale up as big rectangles.
| TRILINEAR | Constant |
public static const TRILINEAR:String = trilinearTrilinear filtering. Highest quality by taking the next mip map level into account.