Enum HlslTernaryFunction
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public enum HlslTernaryFunction
Fields
Clamp = 0Clamps the specified value to the specified minimum and maximum range.
Lerp = 1Performs a linear interpolation.
SmoothStep = 2Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range.
Mad = 3Performs an arithmetic multiply/add operation on three values.
FaceForward = 4Flips the surface-normal (if needed) to face in a direction opposite to
i, returns the result inn.