Class TableTransferEffect2.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public sealed class TableTransferEffect2.Props : CustomEffectProperties
- Inheritance
-
TableTransferEffect2.Props
- Inherited Members
Constructors
Properties
- 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 it applies the AlphaTable transfer function to the Alpha channel.
The default value is FALSE.
- AlphaMode
Specifies the alpha mode for the input and output.
If this is set to Premultiplied, the input will be unpremultiplied, then the transfer function will be applied, and then the result will be premultiplied.
If this is set to Straight, the transfer function will be applied without any unpremultiply or premultiply steps.
Table values are specified in straight alpha format.
The default value is Premultiplied.
- AlphaTable
The list of values used to define the transfer function for the Alpha channel.
The default value is [0.0f, 1.0f].
The maximum length of the table is 16,384.
- 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 it applies the BlueTable transfer function to the Blue channel.
The default value is FALSE.
- BlueTable
The list of values used to define the transfer function for the Blue channel.
The default value is [0.0f, 1.0f].
The maximum length of the table is 16,384.
- 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.
The default value is false.
- 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 it applies the GreenTable transfer function to the Green channel.
The default value is FALSE.
- GreenTable
The list of values used to define the transfer function for the Green channel.
The default value is [0.0f, 1.0f].
The maximum length of the table is 16,384.
- 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 it applies the RedTable transfer function to the Red channel.
The default value is FALSE.
- RedTable
The list of values used to define the transfer function for the Red channel.
The default value is [0.0f, 1.0f].
The maximum length of the table is 16,384.