Class LinearTransfer
Built in LinearTransfer effect.
public class LinearTransfer : Effect
- Inheritance
-
LinearTransfer
- Inherited Members
Constructors
LinearTransfer(DeviceContext)
Initializes a new instance of LinearTransfer effect.
public LinearTransfer(DeviceContext context)
Parameters
context
DeviceContext
Properties
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
AlphaSlope
The slope of the linear function for the Alpha channel.
public float AlphaSlope { get; set; }
Property Value
AlphaYIntercept
The Y-intercept of the linear function for the Alpha channel.
public float AlphaYIntercept { 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
BlueSlope
The slope of the linear function for the Blue channel.
public float BlueSlope { get; set; }
Property Value
BlueYIntercept
The Y-intercept of the linear function for the Blue channel.
public float BlueYIntercept { 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
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
GreenSlope
The slope of the linear function for the Green channel.
public float GreenSlope { get; set; }
Property Value
GreenYIntercept
The Y-intercept of the linear function for the Green channel.
public float GreenYIntercept { 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
RedSlope
The slope of the linear function for the Red channel.
public float RedSlope { get; set; }
Property Value
RedYIntercept
TThe Y-intercept of the linear function for the Red channel.
public float RedYIntercept { get; set; }