TextureSmoothing

public class
loom2d.textures.TextureSmoothing

Description

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

API overview

Constructor

TextureSmoothing ()

Attributes

Public attributes

defaultSmoothing: Number static

The default smoothing mode for new textures, this can be modified to set a new global smoothing mode

Constants

Constants

BILINEAR: Number static

Bilear filitering

MAX: Number static

The MAX constant for smoothing modes

NONE: Number static

Nearest neighbor sampling

Functions

Public functions

Constructor

TextureSmoothing ()

Attributes

defaultSmoothing: Number

static

The default smoothing mode for new textures, this can be modified to set a new global smoothing mode

Constants

BILINEAR: Number

static

Bilear filitering

MAX: Number

static

The MAX constant for smoothing modes

NONE: Number

static

Nearest neighbor sampling

Functions

getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.