[]
Builtin GammaTransfer effect.
public class GammaTransfer : Effect, IDisposable, IUnknown
Initializes a new instance of the GammaTransfer class.
public GammaTransfer(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
The amplitude of the gamma transfer function for the Alpha channel.
public float AlphaAmplitude { get; set; }
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.
public bool AlphaDisable { get; set; }
The exponent of the gamma transfer function for the Alpha channel.
public float AlphaExponent { get; set; }
The offset of the gamma transfer function for the Alpha channel.
public float AlphaOffset { get; set; }
The amplitude of the gamma transfer function for the Blue channel.
public float BlueAmplitude { get; set; }
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.
public bool BlueDisable { get; set; }
The exponent of the gamma transfer function for the Blue channel.
public float BlueExponent { get; set; }
The offset of the gamma transfer function for the Blue channel.
public float BlueOffset { get; set; }
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.
public bool ClampOutput { get; set; }
The amplitude of the gamma transfer function for the Green channel.
public float GreenAmplitude { get; set; }
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.
public bool GreenDisable { get; set; }
The exponent of the gamma transfer function for the Green channel.
public float GreenExponent { get; set; }
The offset of the gamma transfer function for the Green channel.
public float GreenOffset { get; set; }
The amplitude of the gamma transfer function for the Red channel.
public float RedAmplitude { get; set; }
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.
public bool RedDisable { get; set; }
The exponent of the gamma transfer function for the Red channel.
public float RedExponent { get; set; }
The offset of the gamma transfer function for the Red channel.
public float RedOffset { get; set; }
Initializes a new instance of GammaTransfer effect.
public static GammaTransfer Create(DeviceContext context)
context
DeviceContext