Enum HlslUnaryFunction
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public enum HlslUnaryFunction
Fields
Abs = 0Returns the absolute value of the specified value.
Acos = 1Returns the arccosine of the specified value.
Asin = 2Returns the arcsine of the specified value.
Atan = 3Returns the arctangent of the specified value.
Ceil = 4Returns the smallest integer value that is greater than or equal to the specified value.
Cos = 5Returns the cosine of the specified value.
Cosh = 6Returns the hyperbolic cosine of the specified value.
Degrees = 7Converts the specified value from radians to degrees.
DerivativeOfDx = 8Returns the partial derivative of the specified value with respect to the screen-space x-coordinate.
DerivativeOfDxHighPrecision = 9Computes a high precision partial derivative with respect to the screen-space x-coordinate.
DerivativeOfDxLowPrecision = 10Computes a low precision partial derivative with respect to the screen-space x-coordinate.
DerivativeOfDy = 11Returns the partial derivative of the specified value with respect to the screen-space y-coordinate.
DerivativeOfDyHighPrecision = 12Computes a high precision partial derivative with respect to the screen-space y-coordinate.
DerivativeOfDyLowPrecision = 13Computes a low precision partial derivative with respect to the screen-space y-coordinate.
Exp = 14Returns the base-e exponential of the specified value.
Exp2 = 15Returns the base-2 exponential of the specified value.
Floor = 16Returns the largest integer that is less than or equal to the specified value.
Frac = 17Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1.
Fwidth = 18Returns the absolute value of the partial derivatives of the specified value.
Log = 19Returns the base-e logarithm of the specified value.
Log2 = 20Returns the base-2 logarithm of the specified value.
Log10 = 21Returns the base-10 logarithm of the specified value.
Normalize = 22Normalizes the specified floating-point vector according to x / length(x).
Radians = 23Converts the specified value from degrees to radians.
Rcp = 24Calculates a fast, approximate, per-component reciprocal.
Round = 25Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even.
Rsqrt = 26Returns the reciprocal of the square root of the specified value.
Saturate = 27Clamps the specified value within the range of 0 to 1.
Sign = 28Returns the sign of the input value.
Sin = 29Returns the sine of the specified value.
Sinh = 30Returns the hyperbolic sine of the specified value.
Sqrt = 31Returns the square root of the specified floating-point value, per component.
Tan = 32Returns the tangent of the specified value.
Tanh = 33Returns the hyperbolic tangent of the specified value.
Trunc = 34Truncates a floating-point value to the integer component.
Length = 35Returns the length of the specified floating-point vector.
The result of this function is a scalar value which is broadcast to all fields of the vector.
FrexpMantissaPortion = 36Returns the mantissa and exponent of the specified floating-point value. This function only returns the mantissa portion of the result.
FrexpExponentPortion = 37Returns the mantissa and exponent of the specified floating-point value. This function only returns the exponent portion of the result.
ModfIntegerPortion = 38Splits a value into fractional and integer parts, each with the same sign as the input value. This function only returns the integer portion of the result.
ModfFractionalPortion = 39Splits a value into fractional and integer parts, each with the same sign as the input value. This function only returns the fractional portion of the result.