[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Effects.GammaTransfer

GammaTransfer Class

Builtin GammaTransfer effect.

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

Constructors

Name Description
GammaTransfer(IntPtr)

Initializes a new instance of the GammaTransfer class.

Properties

Name Description
AlphaAmplitude

The amplitude of the gamma transfer function for the Alpha channel.

AlphaDisable

If you set this to TRUE it does not apply the transfer function to the Alpha channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Alpha channel.

AlphaExponent

The exponent of the gamma transfer function for the Alpha channel.

AlphaOffset

The offset of the gamma transfer function for the Alpha channel.

BlueAmplitude

The amplitude of the gamma transfer function for the Blue channel.

BlueDisable

If you set this to TRUE it does not apply the transfer function to the Blue channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Blue channel.

BlueExponent

The exponent of the gamma transfer function for the Blue channel.

BlueOffset

The offset of the gamma 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.

GreenAmplitude

The amplitude of the gamma transfer function for the Green channel.

GreenDisable

If you set this to TRUE it does not apply the transfer function to the Green channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Green channel.

GreenExponent

The exponent of the gamma transfer function for the Green channel.

GreenOffset

The offset of the gamma transfer function for the Green channel.

RedAmplitude

The amplitude of the gamma transfer function for the Red channel.

RedDisable

If you set this to TRUE it does not apply the transfer function to the Red channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Red channel.

RedExponent

The exponent of the gamma transfer function for the Red channel.

RedOffset

The offset of the gamma transfer function for the Red channel.

Methods

Name Description
Create(DeviceContext)

Initializes a new instance of GammaTransfer effect.