Table of Contents

Class DisplacementMap

Namespace
SharpDX.Direct2D1.Effects
Assembly
SharpDX.Direct2D1.dll

Built in DisplacementMap effect.

public class DisplacementMap : Effect
Inheritance
DisplacementMap
Inherited Members

Constructors

DisplacementMap(DeviceContext)

Initializes a new instance of DisplacementMap effect.

public DisplacementMap(DeviceContext context)

Parameters

context DeviceContext

Properties

Scale

Multiplies the intensity of the selected channel from the displacement image. The higher you set this property, the more the effect displaces the pixels

public float Scale { get; set; }

Property Value

float

XChannelSelect

The effect extracts the intensity from this color channel and uses it to spatially displace the image in the X direction. See Color channels for more info.

public ChannelSelector XChannelSelect { get; set; }

Property Value

ChannelSelector

YChannelSelect

The effect extracts the intensity from this color channel and uses it to spatially displace the image in the Y direction. See Color channels for more info.

public ChannelSelector YChannelSelect { get; set; }

Property Value

ChannelSelector