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

Variables

@:value(cast "clamp")@:impl@:enuminlineread onlyCLAMP:DisplacementMapFilterMode = "clamp"

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

@:value(cast "color")@:impl@:enuminlineread onlyCOLOR:DisplacementMapFilterMode = "color"

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

@:value(cast "ignore")@:impl@:enuminlineread onlyIGNORE:DisplacementMapFilterMode = "ignore"

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

@:value(cast "wrap")@:impl@:enuminlineread onlyWRAP:DisplacementMapFilterMode = "wrap"

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