Class GammaTransfer
Built in GammaTransfer effect.
public class GammaTransfer : Effect
- Inheritance
-
GammaTransfer
- Inherited Members
Constructors
GammaTransfer(DeviceContext)
Initializes a new instance of GammaTransfer effect.
public GammaTransfer(DeviceContext context)
Parameters
context
DeviceContext
Properties
AlphaAmplitude
The amplitude of the gamma transfer function for the Alpha channel.
public float AlphaAmplitude { get; set; }
Property Value
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.
public bool AlphaDisable { get; set; }
Property Value
AlphaExponent
The exponent of the gamma transfer function for the Alpha channel.
public float AlphaExponent { get; set; }
Property Value
AlphaOffset
The offset of the gamma transfer function for the Alpha channel.
public float AlphaOffset { get; set; }
Property Value
BlueAmplitude
The amplitude of the gamma transfer function for the Blue channel.
public float BlueAmplitude { get; set; }
Property Value
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.
public bool BlueDisable { get; set; }
Property Value
BlueExponent
The exponent of the gamma transfer function for the Blue channel.
public float BlueExponent { get; set; }
Property Value
BlueOffset
The offset of the gamma transfer function for the Blue channel.
public float BlueOffset { get; set; }
Property Value
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.
public bool ClampOutput { get; set; }
Property Value
GreenAmplitude
The amplitude of the gamma transfer function for the Green channel.
public float GreenAmplitude { get; set; }
Property Value
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.
public bool GreenDisable { get; set; }
Property Value
GreenExponent
The exponent of the gamma transfer function for the Green channel.
public float GreenExponent { get; set; }
Property Value
GreenOffset
The offset of the gamma transfer function for the Green channel.
public float GreenOffset { get; set; }
Property Value
RedAmplitude
The amplitude of the gamma transfer function for the Red channel.
public float RedAmplitude { get; set; }
Property Value
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.
public bool RedDisable { get; set; }
Property Value
RedExponent
The exponent of the gamma transfer function for the Red channel.
public float RedExponent { get; set; }
Property Value
RedOffset
The offset of the gamma transfer function for the Red channel.
public float RedOffset { get; set; }