Table of Contents

Enum HlslTernaryFunction

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll
public enum HlslTernaryFunction

Fields

Clamp = 0

Clamps the specified value to the specified minimum and maximum range.

Lerp = 1

Performs a linear interpolation.

SmoothStep = 2

Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range.

Mad = 3

Performs an arithmetic multiply/add operation on three values.

FaceForward = 4

Flips the surface-normal (if needed) to face in a direction opposite to i, returns the result in n.