Enum HlslBinaryFunction
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public enum HlslBinaryFunction
Fields
Atan2 = 0Returns the arctangent of two values (y, x).
Fmod = 1Returns the floating-point remainder of x / y.
Ldexp = 2Returns the result of multiplying the specified value by two, raised to the power of the specified exponent.
Max = 3Selects the greater between two inputs.
Min = 4Selects the lesser between two inputs.
Pow = 5Returns the specified value raised to the specified power.
NOTE: This method will use the absolute value of the first parameter.
Reflect = 6Returns a reflection vector using an incident ray and a surface normal.
Step = 7Compares two values, returning 0 or 1 based on which value is greater.
Distance = 8Returns a distance scalar between two vectors.
The result of this function is a scalar value which is broadcast to all fields of the vector.
Dot = 9Returns the dot product of two vectors.
The result of this function is a scalar value which is broadcast to all fields of the vector.
Cross = 10Returns the cross product of two floating-point, 3D vectors.
The fourth component (W or A) of the inputs is ignored, and is always 0 for the output.