[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Effects.DiscreteTransfer

DiscreteTransfer Class

Builtin DiscreteTransfer effect.

Inheritance
DiscreteTransfer
Implements
Namespace: C1.Util.DX.Direct2D.Effects
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public class DiscreteTransfer : Effect, IDisposable, IUnknown

Constructors

Name Description
DiscreteTransfer(IntPtr)

Initializes a new instance of the DiscreteTransfer class.

Properties

Name Description
AlphaDisable

If you set this to TRUE the effect does not apply the transfer function to the Alpha channel. If you set this to FALSE the effect applies the AlphaDiscreteTransfer function to the Alpha channel.

AlphaTable

The list of values that define the transfer function for the Alpha channel.

BlueDisable

If you set this to TRUE the effect does not apply the transfer function to the Blue channel. If you set this to FALSE the effect applies the BlueDiscreteTransfer function to the Blue channel.

BlueTable

The list of values that define the transfer function for the Blue channel.

ClampOutput

Whether the effect clamps color values to between 0 and 1 before the effect passes the values to the next effect in the graph. The effect clamps the values before it premultiplies the alpha . if you set this to TRUE the effect will clamp the values. If you set this to FALSE, the effect will not clamp the color values, but other effects and the output surface may clamp the values if they are not of high enough precision.

GreenDisable

If you set this to TRUE the effect does not apply the transfer function to the Green channel. If you set this to FALSE the effect applies the GreenDiscreteTransfer function to the Green channel.

GreenTable

The list of values that define the transfer function for the Green channel.

RedDisable

If you set this to TRUE the effect does not apply the transfer function to the Red channel. If you set this to FALSE the effect applies the RedDiscreteTransfer function to the Red channel.

RedTable

The list of values used to define the transfer function for the Red channel.

Methods

Name Description
Create(DeviceContext)

Initializes a new instance of DiscreteTransfer effect.