The DisplacementMapFilterMode class provides values for the mode property of the DisplacementMapFilter class.

Variables

@:enum@:implinlineread onlyCLAMP:DisplacementMapFilterMode

Clamps the displacement value to the edge of the source image.

@:enum@:implinlineread onlyCOLOR:DisplacementMapFilterMode

If the displacement value is outside the image, substitutes the values in the color and alpha properties.

@:enum@:implinlineread onlyIGNORE:DisplacementMapFilterMode

If the displacement value is out of range, ignores the displacement and uses the source pixel.

@:enum@:implinlineread onlyWRAP:DisplacementMapFilterMode

Wraps the displacement value to the other side of the source image.