Table of Contents

Enum HlslBinaryFunction

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

Fields

Atan2 = 0

Returns the arctangent of two values (y, x).

Fmod = 1

Returns the floating-point remainder of x / y.

Ldexp = 2

Returns the result of multiplying the specified value by two, raised to the power of the specified exponent.

Max = 3

Selects the greater between two inputs.

Min = 4

Selects the lesser between two inputs.

Pow = 5

Returns the specified value raised to the specified power.

Reflect = 6

Returns a reflection vector using an incident ray and a surface normal.

Step = 7

Compares two values, returning 0 or 1 based on which value is greater.

Distance = 8

Returns a distance scalar between two vectors.

Dot = 9

Returns the dot product of two vectors.

Cross = 10

Returns the cross product of two floating-point, 3D vectors.