Table of Contents

Enum HlslUnaryFunction

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

Fields

Abs = 0
Acos = 1
Asin = 2
Atan = 3
Ceil = 4
Cos = 5
Cosh = 6
Degrees = 7
DerivativeOfDx = 8
DerivativeOfDxHighPrecision = 9
DerivativeOfDxLowPrecision = 10
DerivativeOfDy = 11
DerivativeOfDyHighPrecision = 12
DerivativeOfDyLowPrecision = 13
Exp = 14
Exp2 = 15
Floor = 16
Frac = 17
Fwidth = 18
Log = 19
Log2 = 20
Log10 = 21
Normalize = 22
Radians = 23
Rcp = 24
Round = 25
Rsqrt = 26
Saturate = 27
Sign = 28
Sin = 29
Sinh = 30
Sqrt = 31
Tan = 32
Tanh = 33
Trunc = 34
Length = 35

The result of this function is a scalar value which is broadcast to all fields of the vector.

FrexpMantissaPortion = 36

This function only returns the mantissa portion of the result.

FrexpExponentPortion = 37

This function only returns the exponent portion of the result.

ModfIntegerPortion = 38

This function only returns the integer portion of the result.

ModfFractionalPortion = 39

This function only returns the fractional portion of the result.