From de7bb4911fad8a937c746d8d3719b78303ba59b1 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 3 Mar 2021 17:50:31 +0100 Subject: [PATCH] Added initial T4 template for HLSL intrinsics --- src/ComputeSharp/ComputeSharp.csproj | 9 + .../Attributes/HlslIntrinsicNameAttribute.cs | 24 + src/ComputeSharp/Core/Intrinsics/Hlsl.cs | 1921 +- src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs | 15178 ++++++++++++++++ src/ComputeSharp/Core/Intrinsics/Hlsl.tt | 2636 +++ 5 files changed, 17855 insertions(+), 1913 deletions(-) create mode 100644 src/ComputeSharp/Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs create mode 100644 src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs create mode 100644 src/ComputeSharp/Core/Intrinsics/Hlsl.tt diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj index 156c3f9b..c35b06c5 100644 --- a/src/ComputeSharp/ComputeSharp.csproj +++ b/src/ComputeSharp/ComputeSharp.csproj @@ -30,6 +30,11 @@ + + True + True + Hlsl.tt + True True @@ -133,6 +138,10 @@ + + TextTemplatingFileGenerator + Hlsl.g.cs + TextTemplatingFileGenerator Bool2.g.cs diff --git a/src/ComputeSharp/Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs b/src/ComputeSharp/Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs new file mode 100644 index 00000000..80e133e2 --- /dev/null +++ b/src/ComputeSharp/Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs @@ -0,0 +1,24 @@ +using System; + +namespace ComputeSharp.Core.Intrinsics.Attributes +{ + /// + /// An attribute indicating the native member name of a given HLSL intrinsic. + /// + internal sealed class HlslIntrinsicNameAttribute : Attribute + { + /// + /// Creates a new instance with the specified parameters. + /// + /// The name of the HLSL intrinsic. + public HlslIntrinsicNameAttribute(string name) + { + Name = name; + } + + /// + /// Gets the name of the HLSL intrinsic. + /// + public string Name { get; } + } +} diff --git a/src/ComputeSharp/Core/Intrinsics/Hlsl.cs b/src/ComputeSharp/Core/Intrinsics/Hlsl.cs index dc8e838c..7645ab0a 100644 --- a/src/ComputeSharp/Core/Intrinsics/Hlsl.cs +++ b/src/ComputeSharp/Core/Intrinsics/Hlsl.cs @@ -1,5 +1,4 @@ -using System.Diagnostics.Contracts; -using ComputeSharp.Core.Intrinsics.Attributes; +using ComputeSharp.Core.Intrinsics.Attributes; using ComputeSharp.Exceptions; namespace ComputeSharp @@ -7,152 +6,8 @@ namespace ComputeSharp /// /// A that maps the supported HLSL intrinsic functions that can be used in compute shaders. /// - public static class Hlsl + public static partial class Hlsl { - /// - /// Returns the absolute value of the specified value. - /// - /// The specified value. - /// The absolute value of the parameter. - [Pure] - public static int Abs(int x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Abs)}(int)"); - - /// - /// Returns the absolute value of the specified value. - /// - /// The specified value. - /// The absolute value of the parameter. - [Pure] - public static Int2 Abs(Int2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Abs)}({nameof(Int2)})"); - - /// - /// Returns the absolute value of the specified value. - /// - /// The specified value. - /// The absolute value of the parameter. - [Pure] - public static Int3 Abs(Int3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Abs)}({nameof(Int3)})"); - - /// - /// Returns the absolute value of the specified value. - /// - /// The specified value. - /// The absolute value of the parameter. - [Pure] - public static Int4 Abs(Int4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Abs)}({nameof(Int4)})"); - - /// - /// Returns the absolute value of the specified value. - /// - /// The specified value. - /// The absolute value of the parameter. - [Pure] - public static float Abs(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Abs)}(float)"); - - /// - /// Returns the absolute value of the specified value. - /// - /// The specified value. - /// The absolute value of the parameter. - [Pure] - public static Float2 Abs(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Abs)}({nameof(Float2)})"); - - /// - /// Returns the absolute value of the specified value. - /// - /// The specified value. - /// The absolute value of the parameter. - [Pure] - public static Float3 Abs(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Abs)}({nameof(Float3)})"); - - /// - /// Returns the absolute value of the specified value. - /// - /// The specified value. - /// The absolute value of the parameter. - [Pure] - public static Float4 Abs(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Abs)}({nameof(Float4)})"); - - /// - /// Returns the arccosine of the specified value. - /// - /// The specified value, which should be within the range [-1 to 1] - /// The arccosine of the parameter. - [Pure] - public static float Acos(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Acos)}(float)"); - - /// - /// Returns the arccosine of the specified value. - /// - /// The specified value, where each component should be within the range [-1 to 1] - /// The arccosine of the parameter. - [Pure] - public static Float2 Acos(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Acos)}({nameof(Float2)})"); - - /// - /// Returns the arccosine of the specified value. - /// - /// The specified value, where each component should be within the range [-1 to 1] - /// The arccosine of the parameter. - [Pure] - public static Float3 Acos(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Acos)}({nameof(Float3)})"); - - /// - /// Returns the arccosine of the specified value. - /// - /// The specified value, where each component should be within the range [-1 to 1] - /// The arccosine of the parameter. - [Pure] - public static Float3 Acos(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Acos)}({nameof(Float4)})"); - - /// - /// Determines if all components of the specified value are non-zero. - /// - /// The specified value. - /// if all components of the parameter are non-zero; otherwise, . - [Pure] - public static bool All(Int2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(All)}({nameof(Int2)})"); - - /// - /// Determines if all components of the specified value are non-zero. - /// - /// The specified value. - /// if all components of the parameter are non-zero; otherwise, . - [Pure] - public static bool All(Int3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(All)}({nameof(Int3)})"); - - /// - /// Determines if all components of the specified value are non-zero. - /// - /// The specified value. - /// if all components of the parameter are non-zero; otherwise, . - [Pure] - public static bool All(Int4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(All)}({nameof(Int4)})"); - - /// - /// Determines if all components of the specified value are non-zero. - /// - /// The specified value. - /// if all components of the parameter are non-zero; otherwise, . - [Pure] - public static bool All(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(All)}({nameof(Float2)})"); - - /// - /// Determines if all components of the specified value are non-zero. - /// - /// The specified value. - /// if all components of the parameter are non-zero; otherwise, . - [Pure] - public static bool All(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(All)}({nameof(Float3)})"); - - /// - /// Determines if all components of the specified value are non-zero. - /// - /// The specified value. - /// if all components of the parameter are non-zero; otherwise, . - [Pure] - public static bool All(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(All)}({nameof(Float4)})"); - /// /// Blocks execution of all threads in a group until all memory accesses have been completed. /// @@ -161,8 +16,7 @@ namespace ComputeSharp /// Threads are synchronized at GroupSync barriers. /// This may stall a thread or threads if memory operations are in progress. /// - [PreserveMemberName] - public static void AllMemoryBarrier() => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AllMemoryBarrier)}()"); + public static void AllMemoryBarrier() => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AllMemoryBarrier)}()"); /// /// Blocks execution of all threads in a group until all memory accesses have been completed and all threads in the group have reached this call. @@ -172,749 +26,27 @@ namespace ComputeSharp /// Threads are synchronized at GroupSync barriers. /// This may stall a thread or threads if memory operations are in progress. /// - [PreserveMemberName] - public static void AllMemoryBarrierWithGroupSync() => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AllMemoryBarrierWithGroupSync)}()"); - - /// - /// Determines if any components of the specified value are non-zero. - /// - /// The specified value. - /// if any components of the parameter are non-zero; otherwise, . - [Pure] - public static bool Any(Int2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Any)}({nameof(Int2)})"); - - /// - /// Determines if any components of the specified value are non-zero. - /// - /// The specified value. - /// if any components of the parameter are non-zero; otherwise, . - [Pure] - public static bool Any(Int3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Any)}({nameof(Int3)})"); - - /// - /// Determines if any components of the specified value are non-zero. - /// - /// The specified value. - /// if any components of the parameter are non-zero; otherwise, . - [Pure] - public static bool Any(Int4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Any)}({nameof(Int4)})"); - - /// - /// Determines if any components of the specified value are non-zero. - /// - /// The specified value. - /// if any components of the parameter are non-zero; otherwise, . - [Pure] - public static bool Any(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Any)}({nameof(Float2)})"); - - /// - /// Determines if any components of the specified value are non-zero. - /// - /// The specified value. - /// if any components of the parameter are non-zero; otherwise, . - [Pure] - public static bool Any(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Any)}({nameof(Float3)})"); - - /// - /// Determines if any components of the specified value are non-zero. - /// - /// The specified value. - /// if any components of the parameter are non-zero; otherwise, . - [Pure] - public static bool Any(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Any)}({nameof(Float4)})"); - - /// - /// Reinterprets a cast value (two 32-bit values) into a . - /// - /// The low 32-bit pattern of the input value. - /// The high 32-bit pattern of the input value. - /// The input (two 32-bit values) recast as a . - [Pure] - public static double AsDouble(uint lowBits, uint highBits) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsDouble)}(uint,uint)"); - - /// - /// Reinterprets a cast value (two 32-bit values) into a . - /// - /// The low 32-bit pattern of the input value. - /// The high 32-bit pattern of the input value. - /// The input (two 32-bit values) recast as a . - [Pure] - public static Double2 AsDouble(UInt2 lowBits, UInt2 highBits) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsDouble)}({nameof(UInt2)},{nameof(UInt2)})"); - - /// - /// Interprets the bit pattern of as a floating-point number. - /// - /// The input value. - /// The input interpreted as a floating-point number. - [Pure] - public static float AsFloat(int x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsFloat)}(int)"); - - /// - /// Interprets the bit pattern of as a floating-point number. - /// - /// The input value. - /// The input interpreted as a floating-point number. - [Pure] - public static Float2 AsFloat(Int2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsFloat)}({nameof(Int2)})"); - - /// - /// Interprets the bit pattern of as a floating-point number. - /// - /// The input value. - /// The input interpreted as a floating-point number. - [Pure] - public static Float3 AsFloat(Int3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsFloat)}({nameof(Int3)})"); - - /// - /// Interprets the bit pattern of as a floating-point number. - /// - /// The input value. - /// The input interpreted as a floating-point number. - [Pure] - public static Float4 AsFloat(Int4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsFloat)}({nameof(Int4)})"); - - /// - /// Interprets the bit pattern of as a floating-point number. - /// - /// The input value. - /// The input interpreted as a floating-point number. - [Pure] - public static float AsFloat(uint x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsFloat)}(uint)"); - - /// - /// Interprets the bit pattern of as a floating-point number. - /// - /// The input value. - /// The input interpreted as a floating-point number. - [Pure] - public static Float2 AsFloat(UInt2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsFloat)}({nameof(UInt2)})"); - - /// - /// Interprets the bit pattern of as a floating-point number. - /// - /// The input value. - /// The input interpreted as a floating-point number. - [Pure] - public static Float3 AsFloat(UInt3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsFloat)}({nameof(UInt3)})"); - - /// - /// Interprets the bit pattern of as a floating-point number. - /// - /// The input value. - /// The input interpreted as a floating-point number. - [Pure] - public static Float4 AsFloat(UInt4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(AsFloat)}({nameof(UInt4)})"); - - /// - /// Returns the arcsine of the specified value. - /// - /// The specified value, which should be within the range [-1 to 1] - /// The arcsine of the parameter. - [Pure] - public static float Asin(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Asin)}(float)"); - - /// - /// Returns the arcsine of the specified value. - /// - /// The specified value, where each component should be within the range [-1 to 1] - /// The arcsine of the parameter. - [Pure] - public static Float2 Asin(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Asin)}({nameof(Float2)})"); - - /// - /// Returns the arcsine of the specified value. - /// - /// The specified value, where each component should be within the range [-1 to 1] - /// The arcsine of the parameter. - [Pure] - public static Float3 Asin(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Asin)}({nameof(Float3)})"); - - /// - /// Returns the arcsine of the specified value. - /// - /// The specified value, where each component should be within the range [-1 to 1] - /// The arcsine of the parameter. - [Pure] - public static Float3 Asin(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Asin)}({nameof(Float4)})"); - - /// - /// Returns the arctangent of the specified value. - /// - /// The specified value. - /// The arctangent of the parameter. - [Pure] - public static float Atan(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Atan)}(float)"); - - /// - /// Returns the arctangent of the specified value. - /// - /// The specified value. - /// The arctangent of the parameter. - [Pure] - public static Float2 Atan(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Atan)}({nameof(Float2)})"); - - /// - /// Returns the arctangent of the specified value. - /// - /// The specified value. - /// The arctangent of the parameter. - [Pure] - public static Float3 Atan(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Atan)}({nameof(Float3)})"); - - /// - /// Returns the arctangent of the specified value. - /// - /// The specified value. - /// The arctangent of the parameter. - [Pure] - public static Float3 Atan(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Atan)}({nameof(Float4)})"); - - /// - /// Returns the arctangent of two values (,) - /// - /// The value. - /// The value. - /// The arctangent of (,) - [Pure] - public static float Atan2(float y, float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Atan2)}(float,float)"); - - /// - /// Returns the arctangent of two values (,) - /// - /// The value. - /// The value. - /// The arctangent of (,) - [Pure] - public static Float2 Atan2(Float2 y, Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Atan2)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns the arctangent of two values (,) - /// - /// The value. - /// The value. - /// The arctangent of (,) - [Pure] - public static Float3 Atan2(Float3 y, Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Atan2)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns the arctangent of two values (,) - /// - /// The value. - /// The value. - /// The arctangent of (,) - [Pure] - public static Float3 Atan2(Float4 y, Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Atan2)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the smallest integer value that is greater than or equal to the specified value. - /// - /// The specified value. - /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. - [Pure] - public static float Ceil(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Ceil)}(float)"); - - /// - /// Returns the smallest integer value that is greater than or equal to the specified value. - /// - /// The specified value. - /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. - [Pure] - public static Float2 Ceil(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Ceil)}({nameof(Float2)})"); - - /// - /// Returns the smallest integer value that is greater than or equal to the specified value. - /// - /// The specified value. - /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. - [Pure] - public static Float3 Ceil(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Ceil)}({nameof(Float3)})"); - - /// - /// Returns the smallest integer value that is greater than or equal to the specified value. - /// - /// The specified value. - /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. - [Pure] - public static Float3 Ceil(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Ceil)}({nameof(Float4)})"); - - /// - /// Clamps the specified value to the specified minimum and maximum range. - /// - /// A value to clamp. - /// The specified minimum range. - /// The specified maximum range. - /// The clamped value for the x parameter. - /// For values of -INF or INF, clamp will behave as expected. However for values of NaN, the results are undefined. - [Pure] - public static int Clamp(int x, int min, int max) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Clamp)}(int,int,int)"); - - /// - /// Clamps the specified value to the specified minimum and maximum range. - /// - /// A value to clamp. - /// The specified minimum range. - /// The specified maximum range. - /// The clamped value for the x parameter. - /// For values of -INF or INF, clamp will behave as expected. However for values of NaN, the results are undefined. - [Pure] - public static Int2 Clamp(Int2 x, Int2 min, Int2 max) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Clamp)}({nameof(Int2)},{nameof(Int2)},{nameof(Int2)})"); - - /// - /// Clamps the specified value to the specified minimum and maximum range. - /// - /// A value to clamp. - /// The specified minimum range. - /// The specified maximum range. - /// The clamped value for the x parameter. - /// For values of -INF or INF, clamp will behave as expected. However for values of NaN, the results are undefined. - [Pure] - public static Int3 Clamp(Int3 x, Int3 min, Int3 max) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Clamp)}({nameof(Int3)},{nameof(Int3)},{nameof(Int3)})"); - - /// - /// Clamps the specified value to the specified minimum and maximum range. - /// - /// A value to clamp. - /// The specified minimum range. - /// The specified maximum range. - /// The clamped value for the x parameter. - /// For values of -INF or INF, clamp will behave as expected. However for values of NaN, the results are undefined. - [Pure] - public static Int4 Clamp(Int4 x, Int4 min, Int4 max) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Clamp)}({nameof(Int4)},{nameof(Int4)},{nameof(Int4)})"); - - /// - /// Clamps the specified value to the specified minimum and maximum range. - /// - /// A value to clamp. - /// The specified minimum range. - /// The specified maximum range. - /// The clamped value for the x parameter. - /// For values of -INF or INF, clamp will behave as expected. However for values of NaN, the results are undefined. - [Pure] - public static float Clamp(float x, float min, float max) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Clamp)}(float,float,float)"); - - /// - /// Clamps the specified value to the specified minimum and maximum range. - /// - /// A value to clamp. - /// The specified minimum range. - /// The specified maximum range. - /// The clamped value for the x parameter. - /// For values of -INF or INF, clamp will behave as expected. However for values of NaN, the results are undefined. - [Pure] - public static Float2 Clamp(Float2 x, Float2 min, Float2 max) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Clamp)}({nameof(Float2)},{nameof(Float2)},{nameof(Float2)})"); - - /// - /// Clamps the specified value to the specified minimum and maximum range. - /// - /// A value to clamp. - /// The specified minimum range. - /// The specified maximum range. - /// The clamped value for the x parameter. - /// For values of -INF or INF, clamp will behave as expected. However for values of NaN, the results are undefined. - [Pure] - public static Float3 Clamp(Float3 x, Float3 min, Float3 max) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Clamp)}({nameof(Float3)},{nameof(Float3)},{nameof(Float3)})"); - - /// - /// Clamps the specified value to the specified minimum and maximum range. - /// - /// A value to clamp. - /// The specified minimum range. - /// The specified maximum range. - /// The clamped value for the x parameter. - /// For values of -INF or INF, clamp will behave as expected. However for values of NaN, the results are undefined. - [Pure] - public static Float4 Clamp(Float4 x, Float4 min, Float4 max) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Clamp)}({nameof(Float4)},{nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the cosine of the specified value. - /// - /// The specified value, radians. - /// The cosine of the parameter. - [Pure] - public static float Cos(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cos)}(float)"); - - /// - /// Returns the cosine of the specified value. - /// - /// The specified value, radians. - /// The cosine of the parameter. - [Pure] - public static Float2 Cos(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cos)}({nameof(Float2)})"); - - /// - /// Returns the cosine of the specified value. - /// - /// The specified value, radians. - /// The cosine of the parameter. - [Pure] - public static Float3 Cos(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cos)}({nameof(Float3)})"); - - /// - /// Returns the cosine of the specified value. - /// - /// The specified value, radians. - /// The cosine of the parameter. - [Pure] - public static Float3 Cos(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cos)}({nameof(Float4)})"); - - /// - /// Returns the hyperbolic cosine of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic cosine of the parameter. - [Pure] - public static float Cosh(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cosh)}(float)"); - - /// - /// Returns the hyperbolic cosine of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic cosine of the parameter. - [Pure] - public static Float2 Cosh(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cosh)}({nameof(Float2)})"); - - /// - /// Returns the hyperbolic cosine of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic cosine of the parameter. - [Pure] - public static Float3 Cosh(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cosh)}({nameof(Float3)})"); - - /// - /// Returns the hyperbolic cosine of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic cosine of the parameter. - [Pure] - public static Float3 Cosh(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cosh)}({nameof(Float4)})"); - - /// - /// Counts the number of bits in the input value. - /// - /// The input value. - /// The number of bits. - [Pure] - public static uint CountBits(uint x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(CountBits)}(uint)"); - - /// - /// Returns the cross product of two values. - /// - /// The first vector. - /// The second vector. - /// The cross product of the parameter and the parameter. - [Pure] - public static Float3 Cross(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Cross)}({nameof(Float3)})"); - - /// - /// Converts the specified value from radians to degrees. - /// - /// The specified value. - /// The result of converting the parameter from radians to degrees. - [Pure] - public static float Degrees(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Degrees)}(float)"); - - /// - /// Converts the specified value from radians to degrees. - /// - /// The specified value. - /// The result of converting the parameter from radians to degrees. - [Pure] - public static Float2 Degrees(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Degrees)}({nameof(Float2)})"); - - /// - /// Converts the specified value from radians to degrees. - /// - /// The specified value. - /// The result of converting the parameter from radians to degrees. - [Pure] - public static Float3 Degrees(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Degrees)}({nameof(Float3)})"); - - /// - /// Converts the specified value from radians to degrees. - /// - /// The specified value. - /// The result of converting the parameter from radians to degrees. - [Pure] - public static Float3 Degrees(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Degrees)}({nameof(Float4)})"); + public static void AllMemoryBarrierWithGroupSync() => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AllMemoryBarrierWithGroupSync)}()"); /// /// Blocks execution of all threads in a group until all device memory accesses have been completed. /// - [PreserveMemberName] - public static void DeviceMemoryBarrier() => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(DeviceMemoryBarrier)}()"); + public static void DeviceMemoryBarrier() => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(DeviceMemoryBarrier)}()"); /// /// Blocks execution of all threads in a group until all device memory accesses have been completed and all threads in the group have reached this call. /// - [PreserveMemberName] - public static void DeviceMemoryBarrierWithGroupSync() => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(DeviceMemoryBarrierWithGroupSync)}()"); - - /// - /// Returns a distance scalar between two values. - /// - /// The first value to compare. - /// The second value to compare. - /// A scalar value that represents the distance between the parameter and the parameter. - [Pure] - public static float Distance(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Distance)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns a distance scalar between two values. - /// - /// The first value to compare. - /// The second value to compare. - /// A scalar value that represents the distance between the parameter and the parameter. - [Pure] - public static float Distance(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Distance)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns a distance scalar between two values. - /// - /// The first value to compare. - /// The second value to compare. - /// A scalar value that represents the distance between the parameter and the parameter. - [Pure] - public static float Distance(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Distance)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the dot product of two values. - /// - /// The first vector. - /// The second vector. - /// The dot product of the parameter and the parameter. - [Pure] - public static float Dot(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Dot)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns the dot product of two values. - /// - /// The first vector. - /// The second vector. - /// The dot product of the parameter and the parameter. - [Pure] - public static float Dot(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Dot)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns the dot product of two values. - /// - /// The first vector. - /// The second vector. - /// The dot product of the parameter and the parameter. - [Pure] - public static float Dot(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Dot)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the base-e exponential of the specified value. - /// - /// The specified value. - /// The base-e exponential of the parameter. - [Pure] - public static float Exp(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Exp)}(float)"); - - /// - /// Returns the base-e exponential of the specified value. - /// - /// The specified value. - /// The base-e exponential of the parameter. - [Pure] - public static Float2 Exp(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Exp)}({nameof(Float2)})"); - - /// - /// Returns the base-e exponential of the specified value. - /// - /// The specified value. - /// The base-e exponential of the parameter. - [Pure] - public static Float3 Exp(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Exp)}({nameof(Float3)})"); - - /// - /// Returns the base-e exponential of the specified value. - /// - /// The specified value. - /// The base-e exponential of the parameter. - [Pure] - public static Float4 Exp(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Exp)}({nameof(Float4)})"); - - /// - /// Returns the base-2 exponential of the specified value. - /// - /// The specified value. - /// The base-2 exponential of the parameter. - [Pure] - public static float Exp2(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Exp2)}(float)"); - - /// - /// Returns the base-2 exponential of the specified value. - /// - /// The specified value. - /// The base-2 exponential of the parameter. - [Pure] - public static Float2 Exp2(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Exp2)}({nameof(Float2)})"); - - /// - /// Returns the base-2 exponential of the specified value. - /// - /// The specified value. - /// The base-2 exponential of the parameter. - [Pure] - public static Float3 Exp2(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Exp2)}({nameof(Float3)})"); - - /// - /// Returns the base-2 exponential of the specified value. - /// - /// The specified value. - /// The base-2 exponential of the parameter. - [Pure] - public static Float4 Exp2(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Exp2)}({nameof(Float4)})"); - - /// - /// Returns the largest integer that is less than or equal to the specified value. - /// - /// The specified value. - /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. - [Pure] - public static float Floor(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Floor)}(float)"); - - /// - /// Returns the largest integer that is less than or equal to the specified value. - /// - /// The specified value. - /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. - [Pure] - public static Float2 Floor(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Floor)}({nameof(Float2)})"); - - /// - /// Returns the largest integer that is less than or equal to the specified value. - /// - /// The specified value. - /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. - [Pure] - public static Float3 Floor(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Floor)}({nameof(Float3)})"); - - /// - /// Returns the largest integer that is less than or equal to the specified value. - /// - /// The specified value. - /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. - [Pure] - public static Float4 Floor(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Floor)}({nameof(Float4)})"); - - /// - /// Returns the floating-point remainder of /. - /// - /// The divident. - /// The divisor. - /// The floating-point remainder of the parameter divided by the parameter. - [Pure] - public static float Fmod(float x, float y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Fmod)}(float)"); - - /// - /// Returns the floating-point remainder of /. - /// - /// The divident. - /// The divisor. - /// The floating-point remainder of the parameter divided by the parameter. - [Pure] - public static Float2 Fmod(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Fmod)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns the floating-point remainder of /. - /// - /// The divident. - /// The divisor. - /// The floating-point remainder of the parameter divided by the parameter. - [Pure] - public static Float3 Fmod(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Fmod)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns the floating-point remainder of /. - /// - /// The divident. - /// The divisor. - /// The floating-point remainder of the parameter divided by the parameter. - [Pure] - public static Float4 Fmod(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Fmod)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the fractional (or decimal) part of , which is greater than or equal to 0 and less than 1. - /// - /// The specified value. - /// The fractional part of the parameter. - [Pure] - public static float Frac(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Frac)}(float)"); - - /// - /// Returns the fractional (or decimal) part of , which is greater than or equal to 0 and less than 1. - /// - /// The specified value. - /// The fractional part of the parameter. - [Pure] - public static Float2 Frac(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Frac)}({nameof(Float2)})"); - - /// - /// Returns the fractional (or decimal) part of , which is greater than or equal to 0 and less than 1. - /// - /// The specified value. - /// The fractional part of the parameter. - [Pure] - public static Float3 Frac(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Frac)}({nameof(Float3)})"); - - /// - /// Returns the fractional (or decimal) part of , which is greater than or equal to 0 and less than 1. - /// - /// The specified value. - /// The fractional part of the parameter. - [Pure] - public static Float4 Frac(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Frac)}({nameof(Float4)})"); - - /// - /// Returns the mantissa and exponent of the specified floating-point value. - /// - /// The specified floating-point value (if the x parameter is 0, this function returns 0 for both the mantissa and the exponent) - /// The returned exponent of the parameter. - /// The fractional part of the parameter. - [Pure] - public static float Frexp(float x, out float exp) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Frexp)}(float,float)"); - - /// - /// Returns the mantissa and exponent of the specified floating-point value. - /// - /// The specified floating-point value (if the x parameter is 0, this function returns 0 for both the mantissa and the exponent) - /// The returned exponent of the parameter. - /// The fractional part of the parameter. - [Pure] - public static Float2 Frexp(Float2 x, out Float2 exp) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Frexp)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns the mantissa and exponent of the specified floating-point value. - /// - /// The specified floating-point value (if the x parameter is 0, this function returns 0 for both the mantissa and the exponent) - /// The returned exponent of the parameter. - /// The fractional part of the parameter. - [Pure] - public static Float3 Frexp(Float3 x, out Float3 exp) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Frac)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns the mantissa and exponent of the specified floating-point value. - /// - /// The specified floating-point value (if the x parameter is 0, this function returns 0 for both the mantissa and the exponent) - /// The returned exponent of the parameter. - /// The fractional part of the parameter. - [Pure] - public static Float4 Frexp(Float4 x, out Float4 exp) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Frexp)}({nameof(Float4)},{nameof(Float4)})"); + public static void DeviceMemoryBarrierWithGroupSync() => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(DeviceMemoryBarrierWithGroupSync)}()"); /// /// Blocks execution of all threads in a group until all group shared accesses have been completed. /// - [PreserveMemberName] - public static void GroupMemoryBarrier() => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(GroupMemoryBarrier)}()"); + public static void GroupMemoryBarrier() => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(GroupMemoryBarrier)}()"); /// /// Blocks execution of all threads in a group until all group shared accesses have been completed and all threads in the group have reached this call. /// - [PreserveMemberName] - public static void GroupMemoryBarrierWithGroupSync() => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(GroupMemoryBarrierWithGroupSync)}()"); + public static void GroupMemoryBarrierWithGroupSync() => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(GroupMemoryBarrierWithGroupSync)}()"); /// /// Performs a guaranteed atomic add of a value to a destination. @@ -1179,1042 +311,5 @@ namespace ComputeSharp /// The original value. [PreserveMemberName] public static void InterlockedXor(uint destination, uint value, out uint original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedXor)}(uint,uint,uint)"); - - /// - /// Determines if the specified floating-point value is finite. - /// - /// The specified value. - /// Returns if the parameter is finite, otherwise . - [Pure] - public static bool IsFinite(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(IsFinite)}(float)"); - - /// - /// Determines if the specified floating-point value is infinite. - /// - /// The specified value. - /// Returns if the parameter is infinite, otherwise . - [Pure] - public static bool IsInfinite(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(IsInfinite)}(float)"); - - /// - /// Determines if the specified floating-point value is . - /// - /// The specified value. - /// Returns if the parameter is , otherwise . - [Pure] - public static bool IsNaN(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(IsNaN)}(float)"); - - /// - /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. - /// - /// The specified value. - /// The specified exponent. - /// The result of multiplying the parameter by two, raised to the power of the parameter. - [Pure] - public static float Ldexp(float x, float exp) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Ldexp)}(float)"); - - /// - /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. - /// - /// The specified value. - /// The specified exponent. - /// The result of multiplying the parameter by two, raised to the power of the parameter. - [Pure] - public static Float2 Ldexp(Float2 x, Float2 exp) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Ldexp)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. - /// - /// The specified value. - /// The specified exponent. - /// The result of multiplying the parameter by two, raised to the power of the parameter. - [Pure] - public static Float3 Ldexp(Float3 x, Float3 exp) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Ldexp)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. - /// - /// The specified value. - /// The specified exponent. - /// The result of multiplying the parameter by two, raised to the power of the parameter. - [Pure] - public static Float4 Ldexp(Float4 x, Float4 exp) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Ldexp)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the length of the specified floating-point vector. - /// - /// The specified floating-point vector. - /// A floating-point scalar that represents the length of the x parameter. - [Pure] - public static float Length(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Length)}({nameof(Float2)})"); - - /// - /// Returns the length of the specified floating-point vector. - /// - /// The specified floating-point vector. - /// A floating-point scalar that represents the length of the x parameter. - [Pure] - public static float Length(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Length)}({nameof(Float3)})"); - - /// - /// Returns the length of the specified floating-point vector. - /// - /// The specified floating-point vector. - /// A floating-point scalar that represents the length of the x parameter. - [Pure] - public static float Length(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Length)}({nameof(Float4)})"); - - /// - /// Performs a linear interpolation. - /// - /// The first value. - /// The second value. - /// A value that linearly interpolates between the parameter and the parameter. - /// The result of the linear interpolation. - [Pure] - public static float Lerp(float x, float y, float s) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Lerp)}(float,float,float)"); - - /// - /// Performs a linear interpolation. - /// - /// The first value. - /// The second value. - /// A value that linearly interpolates between the parameter and the parameter. - /// The result of the linear interpolation. - [Pure] - public static Float2 Lerp(Float2 x, Float2 y, Float2 s) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Lerp)}({nameof(Float2)},{nameof(Float2)},{nameof(Float2)})"); - - /// - /// Performs a linear interpolation. - /// - /// The first value. - /// The second value. - /// A value that linearly interpolates between the parameter and the parameter. - /// The result of the linear interpolation. - [Pure] - public static Float3 Lerp(Float3 x, Float3 y, Float3 s) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Lerp)}({nameof(Float3)},{nameof(Float3)},{nameof(Float3)})"); - - /// - /// Performs a linear interpolation. - /// - /// The first value. - /// The second value. - /// A value that linearly interpolates between the parameter and the parameter. - /// The result of the linear interpolation. - [Pure] - public static Float2 Lerp(Float4 x, Float4 y, Float4 s) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Lerp)}({nameof(Float4)},{nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the base-e logarithm of the specified value. - /// - /// The specified value. - /// The base-e logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static float Log(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log)}(float)"); - - /// - /// Returns the base-e logarithm of the specified value. - /// - /// The specified value. - /// The base-e logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float2 Log(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log)}({nameof(Float2)})"); - - /// - /// Returns the base-e logarithm of the specified value. - /// - /// The specified value. - /// The base-e logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float3 Log(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log)}({nameof(Float3)})"); - - /// - /// Returns the base-e logarithm of the specified value. - /// - /// The specified value. - /// The base-e logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float4 Log(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log)}({nameof(Float4)})"); - - /// - /// Returns the base-10 logarithm of the specified value. - /// - /// The specified value. - /// The base-10 logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static float Log10(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log10)}(float)"); - - /// - /// Returns the base-10 logarithm of the specified value. - /// - /// The specified value. - /// The base-10 logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float2 Log10(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log10)}({nameof(Float2)})"); - - /// - /// Returns the base-10 logarithm of the specified value. - /// - /// The specified value. - /// The base-10 logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float3 Log10(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log10)}({nameof(Float3)})"); - - /// - /// Returns the base-10 logarithm of the specified value. - /// - /// The specified value. - /// The base-10 logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float4 Log10(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log10)}({nameof(Float4)})"); - - /// - /// Returns the base-2 logarithm of the specified value. - /// - /// The specified value. - /// The base-2 logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static float Log2(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log2)}(float)"); - - /// - /// Returns the base-2 logarithm of the specified value. - /// - /// The specified value. - /// The base-2 logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float2 Log2(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log2)}({nameof(Float2)})"); - - /// - /// Returns the base-2 logarithm of the specified value. - /// - /// The specified value. - /// The base-2 logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float3 Log2(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log2)}({nameof(Float3)})"); - - /// - /// Returns the base-2 logarithm of the specified value. - /// - /// The specified value. - /// The base-2 logarithm of the parameter (if parameter is negative this function returns indefinite, and if is 0, this function returns -INF) - [Pure] - public static Float4 Log2(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Log2)}({nameof(Float4)})"); - - /// - /// Selects the greater of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the largest value. - /// For values of -INF or INF, will behave as expected. - [Pure] - public static int Max(int x, int y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Max)}(int,int)"); - - /// - /// Selects the greater of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the largest value. - /// For values of -INF or INF, will behave as expected, but for for values of , the results are undefined. - [Pure] - public static float Max(float x, float y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Max)}(float,float)"); - - /// - /// Selects the greater of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the largest value. - /// For values of -INF or INF, will behave as expected, but for for values of , the results are undefined. - [Pure] - public static Float2 Max(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Max)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Selects the greater of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the largest value. - /// For values of -INF or INF, will behave as expected, but for for values of , the results are undefined. - [Pure] - public static Float3 Max(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Max)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Selects the greater of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the largest value. - /// For values of -INF or INF, will behave as expected, but for for values of , the results are undefined. - [Pure] - public static Float4 Max(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Max)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Selects the lesser of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the smallest value. - /// For values of -INF or INF, will behave as expected. - [Pure] - public static int Min(int x, int y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Min)}(int,int)"); - - /// - /// Selects the lesser of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the smallest value. - /// For values of -INF or INF, will behave as expected, but for for values of , the results are undefined. - [Pure] - public static float Min(float x, float y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Min)}(float,float)"); - - /// - /// Selects the lesser of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the smallest value. - /// For values of -INF or INF, will behave as expected, but for for values of , the results are undefined. - [Pure] - public static Float2 Min(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Min)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Selects the lesser of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the smallest value. - /// For values of -INF or INF, will behave as expected, but for for values of , the results are undefined. - [Pure] - public static Float3 Min(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Min)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Selects the lesser of and . - /// - /// The first specified value. - /// The second specified exponent. - /// The or parameter, whichever is the smallest value. - /// For values of -INF or INF, will behave as expected, but for for values of , the results are undefined. - [Pure] - public static Float4 Min(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Min)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Splits the value into fractional and integer parts, each of which has the same sign as . - /// - /// The input value. - /// The integer portion of . - /// The signed-fractional portion of . - [Pure] - public static int Modf(int x, out int ip) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Modf)}(int,int)"); - - /// - /// Splits the value into fractional and integer parts, each of which has the same sign as . - /// - /// The input value. - /// The integer portion of . - /// The signed-fractional portion of . - [Pure] - public static Int2 Modf(Int2 x, out Int2 ip) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Modf)}({nameof(Int2)},{nameof(Int2)})"); - - /// - /// Splits the value into fractional and integer parts, each of which has the same sign as . - /// - /// The input value. - /// The integer portion of . - /// The signed-fractional portion of . - [Pure] - public static Int3 Modf(Int3 x, out Int3 ip) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Modf)}({nameof(Int3)},{nameof(Int3)})"); - - /// - /// Splits the value into fractional and integer parts, each of which has the same sign as . - /// - /// The input value. - /// The integer portion of . - /// The signed-fractional portion of . - [Pure] - public static Int4 Modf(Int4 x, out Int4 ip) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Modf)}({nameof(Int4)},{nameof(Int4)})"); - - /// - /// Splits the value into fractional and integer parts, each of which has the same sign as . - /// - /// The input value. - /// The integer portion of . - /// The signed-fractional portion of . - [Pure] - public static float Modf(float x, out float ip) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Modf)}(float,float)"); - - /// - /// Splits the value into fractional and integer parts, each of which has the same sign as . - /// - /// The input value. - /// The integer portion of . - /// The signed-fractional portion of . - [Pure] - public static Float2 Modf(Float2 x, out Float2 ip) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Modf)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Splits the value into fractional and integer parts, each of which has the same sign as . - /// - /// The input value. - /// The integer portion of . - /// The signed-fractional portion of . - [Pure] - public static Float3 Modf(Float3 x, out Float3 ip) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Modf)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Splits the value into fractional and integer parts, each of which has the same sign as . - /// - /// The input value. - /// The integer portion of . - /// The signed-fractional portion of . - [Pure] - public static Float4 Modf(Float4 x, out Float4 ip) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Modf)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static Float2 Mul(float x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}(float,{nameof(Float2)})"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static Float3 Mul(float x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}(float,{nameof(Float3)})"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static Float3 Mul(float x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}(float,{nameof(Float4)})"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static Float2 Mul(Float2 x, float y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}({nameof(Float2)},float)"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static Float3 Mul(Float3 x, float y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}({nameof(Float3)},float)"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static Float4 Mul(Float4 x, float y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}({nameof(Float4)},float)"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static float Mul(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static float Mul(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Multiplies and using matrix math. - /// - /// The first input value (if is a vector, it treated as a row vector) - /// The second input value (if is a vector, it treated as a column vector) - /// The result of times . - [Pure] - public static float Mul(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Mul)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Normalizes the specified floating-point vector according to / length() - /// - /// The specified value. - /// The normalized parameter. - [Pure] - public static Float2 Normalize(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Normalize)}({nameof(Float2)})"); - - /// - /// Normalizes the specified floating-point vector according to / length() - /// - /// The specified value. - /// The normalized parameter. - [Pure] - public static Float3 Normalize(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Normalize)}({nameof(Float3)})"); - - /// - /// Normalizes the specified floating-point vector according to / length() - /// - /// The specified value. - /// The normalized parameter. - [Pure] - public static Float4 Normalize(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Normalize)}({nameof(Float4)})"); - - /// - /// Returns the specified value raised to the specified power. - /// - /// The specified value. - /// The specified power. - /// The parameter raised to the power of the parameter. - /// See for details on special cases. - [Pure] - public static float Pow(float x, float y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Pow)}(float,float)"); - - /// - /// Returns the specified value raised to the specified power. - /// - /// The specified value. - /// The specified power. - /// The parameter raised to the power of the parameter. - /// See for details on special cases. - [Pure] - public static Float2 Pow(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Pow)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns the specified value raised to the specified power. - /// - /// The specified value. - /// The specified power. - /// The parameter raised to the power of the parameter. - /// See for details on special cases. - [Pure] - public static Float3 Pow(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Pow)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns the specified value raised to the specified power. - /// - /// The specified value. - /// The specified power. - /// The parameter raised to the power of the parameter. - /// See for details on special cases. - [Pure] - public static Float4 Pow(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Pow)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Converts the specified value from degrees to radians. - /// - /// The specified value. - /// The parameter converted from degrees to radians. - [Pure] - public static float Radians(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Radians)}(float)"); - - /// - /// Converts the specified value from degrees to radians. - /// - /// The specified value. - /// The parameter converted from degrees to radians. - [Pure] - public static Float2 Radians(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Radians)}({nameof(Float2)})"); - - /// - /// Converts the specified value from degrees to radians. - /// - /// The specified value. - /// The parameter converted from degrees to radians. - [Pure] - public static Float3 Radians(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Radians)}({nameof(Float3)})"); - - /// - /// Converts the specified value from degrees to radians. - /// - /// The specified value. - /// The parameter converted from degrees to radians. - [Pure] - public static Float4 Radians(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Radians)}({nameof(Float4)})"); - - /// - /// Calculates a fast, approximate reciprocal of a given value. - /// - /// The specified value. - /// The reciprocal of the parameter. - [Pure] - public static float Rcp(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Rcp)}(float)"); - - /// - /// Calculates a fast, approximate, per-component reciprocal. - /// - /// The specified value. - /// The reciprocal of the parameter. - [Pure] - public static Float2 Rcp(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Rcp)}({nameof(Float2)})"); - - /// - /// Calculates a fast, approximate, per-component reciprocal. - /// - /// The specified value. - /// The reciprocal of the parameter. - [Pure] - public static Float3 Rcp(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Rcp)}({nameof(Float3)})"); - - /// - /// Calculates a fast, approximate, per-component reciprocal. - /// - /// The specified value. - /// The reciprocal of the parameter. - [Pure] - public static Float4 Rcp(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Rcp)}({nameof(Float4)})"); - - /// - /// Rounds the specified value to the nearest integer. - /// - /// The specified value. - /// The parameter, rounded to the nearest integer within a floating-point type. - [Pure] - public static float Round(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Round)}(float)"); - - /// - /// Rounds the specified value to the nearest integer. - /// - /// The specified value. - /// The parameter, rounded to the nearest integer within a floating-point type. - [Pure] - public static Float2 Round(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Round)}({nameof(Float2)})"); - - /// - /// Rounds the specified value to the nearest integer. - /// - /// The specified value. - /// The parameter, rounded to the nearest integer within a floating-point type. - [Pure] - public static Float3 Round(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Round)}({nameof(Float3)})"); - - /// - /// Rounds the specified value to the nearest integer. - /// - /// The specified value. - /// The parameter, rounded to the nearest integer within a floating-point type. - [Pure] - public static Float4 Round(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Round)}({nameof(Float4)})"); - - /// - /// Returns the reciprocal of the square root of the specified value. - /// - /// The specified value. - /// The reciprocal of the square root of the parameter. - /// This function uses the following formula: 1 / sqrt() - [Pure] - public static float Rsqrt(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Rsqrt)}(float)"); - - /// - /// Returns the reciprocal of the square root of the specified value. - /// - /// The specified value. - /// The reciprocal of the square root of the parameter. - /// This function uses the following formula: 1 / sqrt() - [Pure] - public static Float2 Rsqrt(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Rsqrt)}({nameof(Float2)})"); - - /// - /// Returns the reciprocal of the square root of the specified value. - /// - /// The specified value. - /// The reciprocal of the square root of the parameter. - /// This function uses the following formula: 1 / sqrt() - [Pure] - public static Float3 Rsqrt(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Rsqrt)}({nameof(Float3)})"); - - /// - /// Returns the reciprocal of the square root of the specified value. - /// - /// The specified value. - /// The reciprocal of the square root of the parameter. - /// This function uses the following formula: 1 / sqrt() - [Pure] - public static Float4 Rsqrt(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Rsqrt)}({nameof(Float4)})"); - - /// - /// Clamps the specified value within the range [0,1] - /// - /// The specified value. - /// The parameter, clamped within the range [0,1] - [Pure] - public static float Saturate(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Saturate)}(float)"); - - /// - /// Clamps the specified value within the range [0,1] - /// - /// The specified value. - /// The parameter, clamped within the range [0,1] - [Pure] - public static Float2 Saturate(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Saturate)}({nameof(Float2)})"); - - /// - /// Clamps the specified value within the range [0,1] - /// - /// The specified value. - /// The parameter, clamped within the range [0,1] - [Pure] - public static Float3 Saturate(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Saturate)}({nameof(Float3)})"); - - /// - /// Clamps the specified value within the range [0,1] - /// - /// The specified value. - /// The parameter, clamped within the range [0,1] - [Pure] - public static Float4 Saturate(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Saturate)}({nameof(Float4)})"); - - /// - /// Returns the sign of . - /// - /// The input value. - /// Returns -1 if is less than zero, 0 if equals zero and 1 if is greater than zero. - [Pure] - public static float Sign(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sign)}(float)"); - - /// - /// Returns the sign of . - /// - /// The input value. - /// Returns -1 if is less than zero, 0 if equals zero and 1 if is greater than zero. - [Pure] - public static Float2 Sign(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sign)}({nameof(Float2)})"); - - /// - /// Returns the sign of . - /// - /// The input value. - /// Returns -1 if is less than zero, 0 if equals zero and 1 if is greater than zero. - [Pure] - public static Float3 Sign(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sign)}({nameof(Float3)})"); - - /// - /// Returns the sign of . - /// - /// The input value. - /// Returns -1 if is less than zero, 0 if equals zero and 1 if is greater than zero. - [Pure] - public static Float4 Sign(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sign)}({nameof(Float4)})"); - - /// - /// Returns the sine of the specified value. - /// - /// The specified value, radians. - /// The sine of the parameter. - [Pure] - public static float Sin(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sin)}(float)"); - - /// - /// Returns the sine of the specified value. - /// - /// The specified value, radians. - /// The sine of the parameter. - [Pure] - public static Float2 Sin(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sin)}({nameof(Float2)})"); - - /// - /// Returns the sine of the specified value. - /// - /// The specified value, radians. - /// The sine of the parameter. - [Pure] - public static Float3 Sin(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sin)}({nameof(Float3)})"); - - /// - /// Returns the sine of the specified value. - /// - /// The specified value, radians. - /// The sine of the parameter. - [Pure] - public static Float4 Sin(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sin)}({nameof(Float4)})"); - - /// - /// Returns the sine and cosine of . - /// - /// The specified value, radians. - /// Returns the sine of . - /// Returns the cosine of . - public static void SinCos(float x, out float s, out float c) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(SinCos)}(float,float,float)"); - - /// - /// Returns the sine and cosine of . - /// - /// The specified value, radians. - /// Returns the sine of . - /// Returns the cosine of . - public static void SinCos(Float2 x, out Float2 s, out Float2 c) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(SinCos)}({nameof(Float2)},{nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns the sine and cosine of . - /// - /// The specified value, radians. - /// Returns the sine of . - /// Returns the cosine of . - public static void SinCos(Float3 x, out Float3 s, out Float3 c) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(SinCos)}({nameof(Float3)},{nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns the sine and cosine of . - /// - /// The specified value, radians. - /// Returns the sine of . - /// Returns the cosine of . - public static void SinCos(Float4 x, out Float4 s, out Float4 c) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(SinCos)}({nameof(Float4)},{nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the hyperbolic sine of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic sine of the parameter. - [Pure] - public static float Sinh(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sinh)}(float)"); - - /// - /// Returns the hyperbolic sine of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic sine of the parameter. - [Pure] - public static Float2 Sinh(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sinh)}({nameof(Float2)})"); - - /// - /// Returns the hyperbolic sine of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic sine of the parameter. - [Pure] - public static Float3 Sinh(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sinh)}({nameof(Float3)})"); - - /// - /// Returns the hyperbolic sine of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic sine of the parameter. - [Pure] - public static Float4 Sinh(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sinh)}({nameof(Float4)})"); - - /// - /// Returns a smooth Hermite interpolation between 0 and 1, if is in the range [, ] - /// - /// The minimum range of the parameter. - /// The maximum range of the parameter. - /// The specified value to be interpolated. - /// 0 if is less than , 1 if is greater than , otherwise a value between 0 and 1 if is in the range [, ] - [Pure] - public static float SmoothStep(float min, float max, float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(SmoothStep)}(float,float,float)"); - - /// - /// Returns a smooth Hermite interpolation between 0 and 1, if is in the range [, ] - /// - /// The minimum range of the parameter. - /// The maximum range of the parameter. - /// The specified value to be interpolated. - /// 0 if is less than , 1 if is greater than , otherwise a value between 0 and 1 if is in the range [, ] - [Pure] - public static Float2 SmoothStep(Float2 min, Float2 max, Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(SmoothStep)}({nameof(Float2)},{nameof(Float2)},{nameof(Float2)})"); - - /// - /// Returns a smooth Hermite interpolation between 0 and 1, if is in the range [, ] - /// - /// The minimum range of the parameter. - /// The maximum range of the parameter. - /// The specified value to be interpolated. - /// 0 if is less than , 1 if is greater than , otherwise a value between 0 and 1 if is in the range [, ] - [Pure] - public static Float3 SmoothStep(Float3 min, Float3 max, Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(SmoothStep)}({nameof(Float3)},{nameof(Float3)},{nameof(Float3)})"); - - /// - /// Returns a smooth Hermite interpolation between 0 and 1, if is in the range [, ] - /// - /// The minimum range of the parameter. - /// The maximum range of the parameter. - /// The specified value to be interpolated. - /// 0 if is less than , 1 if is greater than , otherwise a value between 0 and 1 if is in the range [, ] - [Pure] - public static Float4 SmoothStep(Float4 min, Float4 max, Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(SmoothStep)}({nameof(Float4)},{nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the square root of the specified floating-point value. - /// - /// The specified value. - /// The square root of the parameter. - [Pure] - public static float Sqrt(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sqrt)}(float)"); - - /// - /// Returns the square root of the specified floating-point value, per component. - /// - /// The specified value. - /// The square root of the parameter, per component. - [Pure] - public static Float2 Sqrt(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sqrt)}({nameof(Float2)})"); - - /// - /// Returns the square root of the specified floating-point value, per component. - /// - /// The specified value. - /// The square root of the parameter, per component. - [Pure] - public static Float3 Sqrt(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sqrt)}({nameof(Float3)})"); - - /// - /// Returns the square root of the specified floating-point value, per component. - /// - /// The specified value. - /// The square root of the parameter, per component. - [Pure] - public static Float4 Sqrt(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Sqrt)}({nameof(Float4)})"); - - /// - /// Compares two values, returning 0 or 1 based on which value is greater. - /// - /// The first specified value to compare. - /// The second specified value to compare. - /// 1 if the parameter is greater than or equal to the parameter, otherwise, 0. - /// This function uses the following formula: (x >= y) ? 1 : 0. - [Pure] - public static float Step(float x, float y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Step)}(float,float)"); - - /// - /// Compares two values, returning 0 or 1 based on which value is greater. - /// - /// The first specified value to compare. - /// The second specified value to compare. - /// 1 if the parameter is greater than or equal to the parameter, otherwise, 0. - /// This function uses the following formula: (x >= y) ? 1 : 0. - [Pure] - public static Float2 Step(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Step)}({nameof(Float2)},{nameof(Float2)})"); - - /// - /// Compares two values, returning 0 or 1 based on which value is greater. - /// - /// The first specified value to compare. - /// The second specified value to compare. - /// 1 if the parameter is greater than or equal to the parameter, otherwise, 0. - /// This function uses the following formula: (x >= y) ? 1 : 0. - [Pure] - public static Float3 Step(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Step)}({nameof(Float3)},{nameof(Float3)})"); - - /// - /// Compares two values, returning 0 or 1 based on which value is greater. - /// - /// The first specified value to compare. - /// The second specified value to compare. - /// 1 if the parameter is greater than or equal to the parameter, otherwise, 0. - /// This function uses the following formula: (x >= y) ? 1 : 0. - [Pure] - public static Float4 Step(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Step)}({nameof(Float4)},{nameof(Float4)})"); - - /// - /// Returns the tangent of the specified value. - /// - /// The specified value, radians. - /// The tangent of the parameter. - [Pure] - public static float Tan(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Tan)}(float)"); - - /// - /// Returns the tangent of the specified value. - /// - /// The specified value, radians. - /// The tangent of the parameter. - [Pure] - public static Float2 Tan(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Tan)}({nameof(Float2)})"); - - /// - /// Returns the tangent of the specified value. - /// - /// The specified value, radians. - /// The tangent of the parameter. - [Pure] - public static Float3 Tan(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Tan)}({nameof(Float3)})"); - - /// - /// Returns the tangent of the specified value. - /// - /// The specified value, radians. - /// The tangent of the parameter. - [Pure] - public static Float4 Tan(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Tan)}({nameof(Float4)})"); - - /// - /// Returns the hyperbolic tangent of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic tangent of the parameter. - [Pure] - public static float Tanh(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Tanh)}(float)"); - - /// - /// Returns the hyperbolic tangent of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic tangent of the parameter. - [Pure] - public static Float2 Tanh(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Tanh)}({nameof(Float2)})"); - - /// - /// Returns the hyperbolic tangent of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic tangent of the parameter. - [Pure] - public static Float3 Tanh(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Tanh)}({nameof(Float3)})"); - - /// - /// Returns the hyperbolic tangent of the specified value. - /// - /// The specified value, radians. - /// The hyperbolic tangent of the parameter. - [Pure] - public static Float4 Tanh(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Tanh)}({nameof(Float4)})"); - - /// - /// Truncates a floating-point value to the integer component. - /// - /// The specified value, radians. - /// The parameter truncated to an integer component. - [Pure] - public static float Trunc(float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Trunc)}(float)"); - - /// - /// Truncates a floating-point value to the integer component. - /// - /// The specified value, radians. - /// The parameter truncated to an integer component. - [Pure] - public static Float2 Trunc(Float2 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Trunc)}({nameof(Float2)})"); - - /// - /// Truncates a floating-point value to the integer component. - /// - /// The specified value, radians. - /// The parameter truncated to an integer component. - [Pure] - public static Float3 Trunc(Float3 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Trunc)}({nameof(Float3)})"); - - /// - /// Truncates a floating-point value to the integer component. - /// - /// The specified value, radians. - /// The parameter truncated to an integer component. - [Pure] - public static Float4 Trunc(Float4 x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(Trunc)}({nameof(Float4)})"); } } diff --git a/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs b/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs new file mode 100644 index 00000000..6367905f --- /dev/null +++ b/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs @@ -0,0 +1,15178 @@ +using System.Diagnostics.Contracts; +using ComputeSharp.Core.Intrinsics.Attributes; +using ComputeSharp.Exceptions; + +namespace ComputeSharp +{ + /// + public static partial class Hlsl + { + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static int Abs(int x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(int)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int2 Abs(Int2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int3 Abs(Int3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int4 Abs(Int4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int1x1 Abs(Int1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int1x1)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int1x2 Abs(Int1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int1x2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int1x3 Abs(Int1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int1x3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int1x4 Abs(Int1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int1x4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int2x1 Abs(Int2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int2x1)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int2x2 Abs(Int2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int2x2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int2x3 Abs(Int2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int2x3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int2x4 Abs(Int2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int2x4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int3x1 Abs(Int3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int3x1)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int3x2 Abs(Int3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int3x2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int3x3 Abs(Int3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int3x3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int3x4 Abs(Int3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int3x4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int4x1 Abs(Int4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int4x1)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int4x2 Abs(Int4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int4x2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int4x3 Abs(Int4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int4x3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Int4x4 Abs(Int4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Int4x4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static float Abs(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(float)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float2 Abs(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float3 Abs(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float4 Abs(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float1x1 Abs(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float1x1)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float1x2 Abs(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float1x2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float1x3 Abs(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float1x3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float1x4 Abs(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float1x4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float2x1 Abs(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float2x1)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float2x2 Abs(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float2x2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float2x3 Abs(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float2x3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float2x4 Abs(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float2x4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float3x1 Abs(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float3x1)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float3x2 Abs(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float3x2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float3x3 Abs(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float3x3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float3x4 Abs(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float3x4)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float4x1 Abs(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float4x1)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float4x2 Abs(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float4x2)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float4x3 Abs(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float4x3)})"); + + /// + /// Returns the absolute value of the specified value. + /// + /// The specified value. + /// The absolute value of the parameter. + [Pure] + [HlslIntrinsicName("abs")] + public static Float4x4 Abs(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Abs)}({typeof(Float4x4)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static float Acos(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(float)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float2 Acos(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float2)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float3 Acos(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float3)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float4 Acos(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float4)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float1x1 Acos(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float1x1)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float1x2 Acos(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float1x2)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float1x3 Acos(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float1x3)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float1x4 Acos(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float1x4)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float2x1 Acos(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float2x1)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float2x2 Acos(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float2x2)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float2x3 Acos(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float2x3)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float2x4 Acos(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float2x4)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float3x1 Acos(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float3x1)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float3x2 Acos(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float3x2)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float3x3 Acos(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float3x3)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float3x4 Acos(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float3x4)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float4x1 Acos(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float4x1)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float4x2 Acos(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float4x2)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float4x3 Acos(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float4x3)})"); + + /// + /// Returns the arccosine of the specified value. + /// + /// The specified value. Each component should be a floating-point within the range [-1, 1]. + /// The arccosine of the parameter. + [Pure] + [HlslIntrinsicName("acos")] + public static Float4x4 Acos(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Acos)}({typeof(Float4x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(int x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(int)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int1x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int1x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int1x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int1x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int2x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int2x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int2x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int2x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int3x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int3x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int3x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int3x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int4x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int4x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int4x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Int4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Int4x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(float)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float1x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float1x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float1x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float1x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float2x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float2x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float2x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float2x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float3x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float3x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float3x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float3x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float4x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float4x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float4x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Float4x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(bool x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(bool)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool1x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool1x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool1x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool1x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool2x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool2x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool2x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool2x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool3x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool3x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool3x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool3x4)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool4x1)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool4x2)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool4x3)})"); + + /// + /// Determines if all components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not all components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("all")] + public static bool All(Bool4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(All)}({typeof(Bool4x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(int x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(int)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int1x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int1x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int1x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int1x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int2x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int2x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int2x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int2x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int3x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int3x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int3x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int3x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int4x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int4x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int4x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Int4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Int4x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(float)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float1x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float1x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float1x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float1x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float2x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float2x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float2x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float2x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float3x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float3x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float3x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float3x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float4x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float4x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float4x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Float4x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(bool x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(bool)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool1x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool1x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool1x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool1x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool2x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool2x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool2x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool2x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool3x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool3x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool3x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool3x4)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool4x1)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool4x2)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool4x3)})"); + + /// + /// Determines if any components of the specified value are non-zero. + /// + /// The specified value. + /// Whether or not any components of the parameter are non-zero. + [Pure] + [HlslIntrinsicName("any")] + public static bool Any(Bool4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Any)}({typeof(Bool4x4)})"); + + /// + /// Reinterprets a cast value (two 32-bit values) into a double precision floating-point value. + /// + /// The low 32-bit pattern of the input value. + /// The high 32-bit pattern of the input value. + /// The input (two 32-bit values) recast as a double precision floating-point number. + [Pure] + [HlslIntrinsicName("asdouble")] + public static double AsDouble(uint lowbits, uint highbits) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsDouble)}({typeof(uint)}, {typeof(uint)})"); + + /// + /// Reinterprets a cast value (two 32-bit values) into a double precision floating-point value. + /// + /// The low 32-bit pattern of the input value. + /// The high 32-bit pattern of the input value. + /// The input (two 32-bit values) recast as a double precision floating-point number. + [Pure] + [HlslIntrinsicName("asdouble")] + public static Double2 AsDouble(UInt2 lowbits, UInt2 highbits) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsDouble)}({typeof(UInt2)}, {typeof(UInt2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static float AsFloat(int x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(int)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2 AsFloat(Int2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3 AsFloat(Int3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4 AsFloat(Int4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float1x1 AsFloat(Int1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int1x1)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float1x2 AsFloat(Int1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int1x2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float1x3 AsFloat(Int1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int1x3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float1x4 AsFloat(Int1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int1x4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2x1 AsFloat(Int2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int2x1)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2x2 AsFloat(Int2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int2x2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2x3 AsFloat(Int2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int2x3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2x4 AsFloat(Int2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int2x4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3x1 AsFloat(Int3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int3x1)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3x2 AsFloat(Int3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int3x2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3x3 AsFloat(Int3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int3x3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3x4 AsFloat(Int3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int3x4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4x1 AsFloat(Int4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int4x1)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4x2 AsFloat(Int4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int4x2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4x3 AsFloat(Int4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int4x3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4x4 AsFloat(Int4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(Int4x4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static float AsFloat(uint x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(uint)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2 AsFloat(UInt2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3 AsFloat(UInt3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4 AsFloat(UInt4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float1x1 AsFloat(UInt1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt1x1)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float1x2 AsFloat(UInt1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt1x2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float1x3 AsFloat(UInt1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt1x3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float1x4 AsFloat(UInt1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt1x4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2x1 AsFloat(UInt2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt2x1)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2x2 AsFloat(UInt2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt2x2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2x3 AsFloat(UInt2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt2x3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float2x4 AsFloat(UInt2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt2x4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3x1 AsFloat(UInt3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt3x1)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3x2 AsFloat(UInt3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt3x2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3x3 AsFloat(UInt3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt3x3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float3x4 AsFloat(UInt3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt3x4)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4x1 AsFloat(UInt4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt4x1)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4x2 AsFloat(UInt4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt4x2)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4x3 AsFloat(UInt4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt4x3)})"); + + /// + /// Interprets the bit pattern of an input value as a floating-point number. + /// + /// The input value. + /// The input interpreted as a floating-point number. + [Pure] + [HlslIntrinsicName("asfloat")] + public static Float4x4 AsFloat(UInt4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsFloat)}({typeof(UInt4x4)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static float Asin(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(float)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float2 Asin(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float2)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float3 Asin(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float3)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float4 Asin(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float4)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float1x1 Asin(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float1x1)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float1x2 Asin(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float1x2)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float1x3 Asin(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float1x3)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float1x4 Asin(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float1x4)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float2x1 Asin(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float2x1)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float2x2 Asin(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float2x2)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float2x3 Asin(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float2x3)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float2x4 Asin(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float2x4)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float3x1 Asin(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float3x1)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float3x2 Asin(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float3x2)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float3x3 Asin(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float3x3)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float3x4 Asin(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float3x4)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float4x1 Asin(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float4x1)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float4x2 Asin(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float4x2)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float4x3 Asin(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float4x3)})"); + + /// + /// Returns the arcsine of the specified value. + /// + /// The specified value. + /// The arcsine of the parameter. + [Pure] + [HlslIntrinsicName("asin")] + public static Float4x4 Asin(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Asin)}({typeof(Float4x4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static int AsInt(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(float)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2 AsInt(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3 AsInt(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4 AsInt(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int1x1 AsInt(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float1x1)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int1x2 AsInt(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float1x2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int1x3 AsInt(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float1x3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int1x4 AsInt(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float1x4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2x1 AsInt(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float2x1)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2x2 AsInt(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float2x2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2x3 AsInt(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float2x3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2x4 AsInt(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float2x4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3x1 AsInt(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float3x1)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3x2 AsInt(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float3x2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3x3 AsInt(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float3x3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3x4 AsInt(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float3x4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4x1 AsInt(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float4x1)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4x2 AsInt(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float4x2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4x3 AsInt(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float4x3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4x4 AsInt(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(Float4x4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static int AsInt(uint x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(uint)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2 AsInt(UInt2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3 AsInt(UInt3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4 AsInt(UInt4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int1x1 AsInt(UInt1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt1x1)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int1x2 AsInt(UInt1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt1x2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int1x3 AsInt(UInt1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt1x3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int1x4 AsInt(UInt1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt1x4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2x1 AsInt(UInt2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt2x1)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2x2 AsInt(UInt2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt2x2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2x3 AsInt(UInt2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt2x3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int2x4 AsInt(UInt2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt2x4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3x1 AsInt(UInt3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt3x1)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3x2 AsInt(UInt3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt3x2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3x3 AsInt(UInt3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt3x3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int3x4 AsInt(UInt3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt3x4)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4x1 AsInt(UInt4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt4x1)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4x2 AsInt(UInt4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt4x2)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4x3 AsInt(UInt4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt4x3)})"); + + /// + /// Interprets the bit pattern of an input value as an integer number. + /// + /// The input value. + /// The input interpreted as an integer number. + [Pure] + [HlslIntrinsicName("asint")] + public static Int4x4 AsInt(UInt4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsInt)}({typeof(UInt4x4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static uint AsUInt(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(float)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2 AsUInt(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3 AsUInt(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4 AsUInt(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt1x1 AsUInt(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float1x1)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt1x2 AsUInt(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float1x2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt1x3 AsUInt(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float1x3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt1x4 AsUInt(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float1x4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2x1 AsUInt(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float2x1)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2x2 AsUInt(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float2x2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2x3 AsUInt(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float2x3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2x4 AsUInt(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float2x4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3x1 AsUInt(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float3x1)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3x2 AsUInt(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float3x2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3x3 AsUInt(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float3x3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3x4 AsUInt(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float3x4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4x1 AsUInt(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float4x1)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4x2 AsUInt(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float4x2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4x3 AsUInt(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float4x3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4x4 AsUInt(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Float4x4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static uint AsUInt(int x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(int)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2 AsUInt(Int2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3 AsUInt(Int3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4 AsUInt(Int4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt1x1 AsUInt(Int1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int1x1)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt1x2 AsUInt(Int1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int1x2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt1x3 AsUInt(Int1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int1x3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt1x4 AsUInt(Int1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int1x4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2x1 AsUInt(Int2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int2x1)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2x2 AsUInt(Int2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int2x2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2x3 AsUInt(Int2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int2x3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt2x4 AsUInt(Int2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int2x4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3x1 AsUInt(Int3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int3x1)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3x2 AsUInt(Int3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int3x2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3x3 AsUInt(Int3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int3x3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt3x4 AsUInt(Int3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int3x4)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4x1 AsUInt(Int4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int4x1)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4x2 AsUInt(Int4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int4x2)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4x3 AsUInt(Int4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int4x3)})"); + + /// + /// Interprets the bit pattern of an input value as an unsigned integer number. + /// + /// The input value. + /// The input interpreted as an unsigned integer number. + [Pure] + [HlslIntrinsicName("asuint")] + public static UInt4x4 AsUInt(Int4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(AsUInt)}({typeof(Int4x4)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static float Atan(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(float)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float2 Atan(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float2)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float3 Atan(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float3)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float4 Atan(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float4)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float1x1 Atan(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float1x1)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float1x2 Atan(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float1x2)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float1x3 Atan(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float1x3)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float1x4 Atan(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float1x4)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float2x1 Atan(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float2x1)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float2x2 Atan(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float2x2)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float2x3 Atan(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float2x3)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float2x4 Atan(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float2x4)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float3x1 Atan(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float3x1)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float3x2 Atan(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float3x2)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float3x3 Atan(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float3x3)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float3x4 Atan(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float3x4)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float4x1 Atan(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float4x1)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float4x2 Atan(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float4x2)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float4x3 Atan(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float4x3)})"); + + /// + /// Returns the arctangent of the specified value. + /// + /// The specified value. + /// The arctangent of the parameter. This value is within the range [-π/2, π/2]. + [Pure] + [HlslIntrinsicName("atan")] + public static Float4x4 Atan(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan)}({typeof(Float4x4)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static float Atan2(float y, float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(float)}, {typeof(float)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float2 Atan2(Float2 y, Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float3 Atan2(Float3 y, Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float4 Atan2(Float4 y, Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float1x1 Atan2(Float1x1 y, Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float1x2 Atan2(Float1x2 y, Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float1x3 Atan2(Float1x3 y, Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float1x4 Atan2(Float1x4 y, Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float2x1 Atan2(Float2x1 y, Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float2x2 Atan2(Float2x2 y, Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float2x3 Atan2(Float2x3 y, Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float2x4 Atan2(Float2x4 y, Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float3x1 Atan2(Float3x1 y, Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float3x2 Atan2(Float3x2 y, Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float3x3 Atan2(Float3x3 y, Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float3x4 Atan2(Float3x4 y, Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float4x1 Atan2(Float4x1 y, Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float4x2 Atan2(Float4x2 y, Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float4x3 Atan2(Float4x3 y, Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Returns the arctangent of two values (y, x). + /// + /// The y value. + /// The x value. + /// The arctangent of (, ). + [Pure] + [HlslIntrinsicName("atan2")] + public static Float4x4 Atan2(Float4x4 y, Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Atan2)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static float Ceil(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(float)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float2 Ceil(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float2)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float3 Ceil(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float3)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float4 Ceil(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float4)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float1x1 Ceil(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float1x1)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float1x2 Ceil(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float1x2)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float1x3 Ceil(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float1x3)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float1x4 Ceil(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float1x4)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float2x1 Ceil(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float2x1)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float2x2 Ceil(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float2x2)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float2x3 Ceil(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float2x3)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float2x4 Ceil(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float2x4)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float3x1 Ceil(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float3x1)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float3x2 Ceil(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float3x2)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float3x3 Ceil(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float3x3)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float3x4 Ceil(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float3x4)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float4x1 Ceil(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float4x1)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float4x2 Ceil(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float4x2)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float4x3 Ceil(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float4x3)})"); + + /// + /// Returns the smallest integer value that is greater than or equal to the specified value. + /// + /// The specified value. + /// The smallest integer value (returned as a floating-point type) that is greater than or equal to the parameter. + [Pure] + [HlslIntrinsicName("ceil")] + public static Float4x4 Ceil(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ceil)}({typeof(Float4x4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static float Clamp(float x, float min, float max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(float)}, {typeof(float)}, {typeof(float)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float2 Clamp(Float2 x, Float2 min, Float2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float2)}, {typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float3 Clamp(Float3 x, Float3 min, Float3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float3)}, {typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float4 Clamp(Float4 x, Float4 min, Float4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float4)}, {typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float1x1 Clamp(Float1x1 x, Float1x1 min, Float1x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float1x1)}, {typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float1x2 Clamp(Float1x2 x, Float1x2 min, Float1x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float1x2)}, {typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float1x3 Clamp(Float1x3 x, Float1x3 min, Float1x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float1x3)}, {typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float1x4 Clamp(Float1x4 x, Float1x4 min, Float1x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float1x4)}, {typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float2x1 Clamp(Float2x1 x, Float2x1 min, Float2x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float2x1)}, {typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float2x2 Clamp(Float2x2 x, Float2x2 min, Float2x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float2x2)}, {typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float2x3 Clamp(Float2x3 x, Float2x3 min, Float2x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float2x3)}, {typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float2x4 Clamp(Float2x4 x, Float2x4 min, Float2x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float2x4)}, {typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float3x1 Clamp(Float3x1 x, Float3x1 min, Float3x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float3x1)}, {typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float3x2 Clamp(Float3x2 x, Float3x2 min, Float3x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float3x2)}, {typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float3x3 Clamp(Float3x3 x, Float3x3 min, Float3x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float3x3)}, {typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float3x4 Clamp(Float3x4 x, Float3x4 min, Float3x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float3x4)}, {typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float4x1 Clamp(Float4x1 x, Float4x1 min, Float4x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float4x1)}, {typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float4x2 Clamp(Float4x2 x, Float4x2 min, Float4x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float4x2)}, {typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float4x3 Clamp(Float4x3 x, Float4x3 min, Float4x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float4x3)}, {typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Float4x4 Clamp(Float4x4 x, Float4x4 min, Float4x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Float4x4)}, {typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static int Clamp(int x, int min, int max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(int)}, {typeof(int)}, {typeof(int)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int2 Clamp(Int2 x, Int2 min, Int2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int2)}, {typeof(Int2)}, {typeof(Int2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int3 Clamp(Int3 x, Int3 min, Int3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int3)}, {typeof(Int3)}, {typeof(Int3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int4 Clamp(Int4 x, Int4 min, Int4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int4)}, {typeof(Int4)}, {typeof(Int4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int1x1 Clamp(Int1x1 x, Int1x1 min, Int1x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int1x1)}, {typeof(Int1x1)}, {typeof(Int1x1)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int1x2 Clamp(Int1x2 x, Int1x2 min, Int1x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int1x2)}, {typeof(Int1x2)}, {typeof(Int1x2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int1x3 Clamp(Int1x3 x, Int1x3 min, Int1x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int1x3)}, {typeof(Int1x3)}, {typeof(Int1x3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int1x4 Clamp(Int1x4 x, Int1x4 min, Int1x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int1x4)}, {typeof(Int1x4)}, {typeof(Int1x4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int2x1 Clamp(Int2x1 x, Int2x1 min, Int2x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int2x1)}, {typeof(Int2x1)}, {typeof(Int2x1)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int2x2 Clamp(Int2x2 x, Int2x2 min, Int2x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int2x2)}, {typeof(Int2x2)}, {typeof(Int2x2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int2x3 Clamp(Int2x3 x, Int2x3 min, Int2x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int2x3)}, {typeof(Int2x3)}, {typeof(Int2x3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int2x4 Clamp(Int2x4 x, Int2x4 min, Int2x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int2x4)}, {typeof(Int2x4)}, {typeof(Int2x4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int3x1 Clamp(Int3x1 x, Int3x1 min, Int3x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int3x1)}, {typeof(Int3x1)}, {typeof(Int3x1)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int3x2 Clamp(Int3x2 x, Int3x2 min, Int3x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int3x2)}, {typeof(Int3x2)}, {typeof(Int3x2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int3x3 Clamp(Int3x3 x, Int3x3 min, Int3x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int3x3)}, {typeof(Int3x3)}, {typeof(Int3x3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int3x4 Clamp(Int3x4 x, Int3x4 min, Int3x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int3x4)}, {typeof(Int3x4)}, {typeof(Int3x4)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int4x1 Clamp(Int4x1 x, Int4x1 min, Int4x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int4x1)}, {typeof(Int4x1)}, {typeof(Int4x1)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int4x2 Clamp(Int4x2 x, Int4x2 min, Int4x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int4x2)}, {typeof(Int4x2)}, {typeof(Int4x2)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int4x3 Clamp(Int4x3 x, Int4x3 min, Int4x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int4x3)}, {typeof(Int4x3)}, {typeof(Int4x3)})"); + + /// + /// Clamps the specified value to the specified minimum and maximum range. + /// + /// The value to clamp. + /// The specified minimum range. + /// The specified maximum range. + /// The clamped value for the parameter. + [Pure] + [HlslIntrinsicName("clamp")] + public static Int4x4 Clamp(Int4x4 x, Int4x4 min, Int4x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Clamp)}({typeof(Int4x4)}, {typeof(Int4x4)}, {typeof(Int4x4)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static float Cos(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(float)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float2 Cos(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float2)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float3 Cos(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float3)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float4 Cos(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float4)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float1x1 Cos(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float1x1)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float1x2 Cos(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float1x2)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float1x3 Cos(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float1x3)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float1x4 Cos(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float1x4)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float2x1 Cos(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float2x1)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float2x2 Cos(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float2x2)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float2x3 Cos(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float2x3)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float2x4 Cos(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float2x4)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float3x1 Cos(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float3x1)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float3x2 Cos(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float3x2)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float3x3 Cos(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float3x3)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float3x4 Cos(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float3x4)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float4x1 Cos(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float4x1)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float4x2 Cos(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float4x2)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float4x3 Cos(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float4x3)})"); + + /// + /// Returns the cosine of the specified value. + /// + /// The specified value, in radians. + /// The cosine of the parameter. + [Pure] + [HlslIntrinsicName("cos")] + public static Float4x4 Cos(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cos)}({typeof(Float4x4)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static float Cosh(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(float)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float2 Cosh(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float2)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float3 Cosh(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float3)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float4 Cosh(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float4)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float1x1 Cosh(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float1x1)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float1x2 Cosh(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float1x2)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float1x3 Cosh(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float1x3)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float1x4 Cosh(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float1x4)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float2x1 Cosh(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float2x1)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float2x2 Cosh(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float2x2)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float2x3 Cosh(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float2x3)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float2x4 Cosh(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float2x4)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float3x1 Cosh(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float3x1)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float3x2 Cosh(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float3x2)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float3x3 Cosh(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float3x3)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float3x4 Cosh(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float3x4)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float4x1 Cosh(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float4x1)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float4x2 Cosh(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float4x2)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float4x3 Cosh(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float4x3)})"); + + /// + /// Returns the hyperbolic cosine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic cosine of the parameter. + [Pure] + [HlslIntrinsicName("cosh")] + public static Float4x4 Cosh(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Cosh)}({typeof(Float4x4)})"); + + /// + /// Counts the number of bits (per component) in the input integer. + /// + /// The input value. + /// The number of bits. + [Pure] + [HlslIntrinsicName("countbits")] + public static uint CountBits(uint x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(CountBits)}({typeof(uint)})"); + + /// + /// Counts the number of bits (per component) in the input integer. + /// + /// The input value. + /// The number of bits. + [Pure] + [HlslIntrinsicName("countbits")] + public static UInt2 CountBits(UInt2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(CountBits)}({typeof(UInt2)})"); + + /// + /// Counts the number of bits (per component) in the input integer. + /// + /// The input value. + /// The number of bits. + [Pure] + [HlslIntrinsicName("countbits")] + public static UInt3 CountBits(UInt3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(CountBits)}({typeof(UInt3)})"); + + /// + /// Counts the number of bits (per component) in the input integer. + /// + /// The input value. + /// The number of bits. + [Pure] + [HlslIntrinsicName("countbits")] + public static UInt4 CountBits(UInt4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(CountBits)}({typeof(UInt4)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static float Degrees(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(float)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float2 Degrees(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float2)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float3 Degrees(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float3)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float4 Degrees(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float4)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float1x1 Degrees(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float1x1)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float1x2 Degrees(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float1x2)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float1x3 Degrees(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float1x3)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float1x4 Degrees(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float1x4)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float2x1 Degrees(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float2x1)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float2x2 Degrees(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float2x2)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float2x3 Degrees(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float2x3)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float2x4 Degrees(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float2x4)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float3x1 Degrees(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float3x1)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float3x2 Degrees(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float3x2)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float3x3 Degrees(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float3x3)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float3x4 Degrees(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float3x4)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float4x1 Degrees(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float4x1)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float4x2 Degrees(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float4x2)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float4x3 Degrees(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float4x3)})"); + + /// + /// Converts the specified value from radians to degrees. + /// + /// The specified value. + /// The result of converting the parameter from radians to degrees. + [Pure] + [HlslIntrinsicName("degrees")] + public static Float4x4 Degrees(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Degrees)}({typeof(Float4x4)})"); + + /// + /// Returns the determinant of the specified floating-point, square matrix. + /// + /// The specified value. + /// The floating-point, scalar value that represents the determinant of the parameter. + [Pure] + [HlslIntrinsicName("determinant")] + public static float Determinant(Float1x1 m) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Determinant)}({typeof(Float1x1)})"); + + /// + /// Returns the determinant of the specified floating-point, square matrix. + /// + /// The specified value. + /// The floating-point, scalar value that represents the determinant of the parameter. + [Pure] + [HlslIntrinsicName("determinant")] + public static float Determinant(Float2x2 m) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Determinant)}({typeof(Float2x2)})"); + + /// + /// Returns the determinant of the specified floating-point, square matrix. + /// + /// The specified value. + /// The floating-point, scalar value that represents the determinant of the parameter. + [Pure] + [HlslIntrinsicName("determinant")] + public static float Determinant(Float3x3 m) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Determinant)}({typeof(Float3x3)})"); + + /// + /// Returns the determinant of the specified floating-point, square matrix. + /// + /// The specified value. + /// The floating-point, scalar value that represents the determinant of the parameter. + [Pure] + [HlslIntrinsicName("determinant")] + public static float Determinant(Float4x4 m) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Determinant)}({typeof(Float4x4)})"); + + /// + /// Returns a distance scalar between two vectors. + /// + /// The first floating-point vector to compare. + /// The second floating-point vector to compare. + /// A floating-point, scalar value that represents the distance between the parameter and the parameter. + [Pure] + [HlslIntrinsicName("distance")] + public static Float2 Distance(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Distance)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns a distance scalar between two vectors. + /// + /// The first floating-point vector to compare. + /// The second floating-point vector to compare. + /// A floating-point, scalar value that represents the distance between the parameter and the parameter. + [Pure] + [HlslIntrinsicName("distance")] + public static Float3 Distance(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Distance)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns a distance scalar between two vectors. + /// + /// The first floating-point vector to compare. + /// The second floating-point vector to compare. + /// A floating-point, scalar value that represents the distance between the parameter and the parameter. + [Pure] + [HlslIntrinsicName("distance")] + public static Float4 Distance(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Distance)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns the dot product of two vectors. + /// + /// The first vector. + /// The second vector. + /// The dot product of the parameter and the parameter. + [Pure] + [HlslIntrinsicName("dot")] + public static float Dot(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Dot)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns the dot product of two vectors. + /// + /// The first vector. + /// The second vector. + /// The dot product of the parameter and the parameter. + [Pure] + [HlslIntrinsicName("dot")] + public static float Dot(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Dot)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns the dot product of two vectors. + /// + /// The first vector. + /// The second vector. + /// The dot product of the parameter and the parameter. + [Pure] + [HlslIntrinsicName("dot")] + public static float Dot(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Dot)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns the dot product of two vectors. + /// + /// The first vector. + /// The second vector. + /// The dot product of the parameter and the parameter. + [Pure] + [HlslIntrinsicName("dot")] + public static float Dot(Int2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Dot)}({typeof(Int2)}, {typeof(Int2)})"); + + /// + /// Returns the dot product of two vectors. + /// + /// The first vector. + /// The second vector. + /// The dot product of the parameter and the parameter. + [Pure] + [HlslIntrinsicName("dot")] + public static float Dot(Int3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Dot)}({typeof(Int3)}, {typeof(Int3)})"); + + /// + /// Returns the dot product of two vectors. + /// + /// The first vector. + /// The second vector. + /// The dot product of the parameter and the parameter. + [Pure] + [HlslIntrinsicName("dot")] + public static float Dot(Int4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Dot)}({typeof(Int4)}, {typeof(Int4)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static float Exp(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(float)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float2 Exp(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float2)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float3 Exp(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float3)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float4 Exp(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float4)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float1x1 Exp(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float1x1)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float1x2 Exp(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float1x2)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float1x3 Exp(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float1x3)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float1x4 Exp(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float1x4)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float2x1 Exp(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float2x1)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float2x2 Exp(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float2x2)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float2x3 Exp(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float2x3)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float2x4 Exp(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float2x4)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float3x1 Exp(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float3x1)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float3x2 Exp(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float3x2)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float3x3 Exp(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float3x3)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float3x4 Exp(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float3x4)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float4x1 Exp(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float4x1)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float4x2 Exp(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float4x2)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float4x3 Exp(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float4x3)})"); + + /// + /// Returns the base-e exponential of the specified value. + /// + /// The specified value. + /// The base-e exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp")] + public static Float4x4 Exp(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp)}({typeof(Float4x4)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static float Exp2(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(float)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float2 Exp2(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float2)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float3 Exp2(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float3)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float4 Exp2(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float4)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float1x1 Exp2(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float1x1)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float1x2 Exp2(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float1x2)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float1x3 Exp2(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float1x3)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float1x4 Exp2(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float1x4)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float2x1 Exp2(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float2x1)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float2x2 Exp2(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float2x2)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float2x3 Exp2(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float2x3)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float2x4 Exp2(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float2x4)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float3x1 Exp2(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float3x1)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float3x2 Exp2(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float3x2)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float3x3 Exp2(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float3x3)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float3x4 Exp2(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float3x4)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float4x1 Exp2(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float4x1)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float4x2 Exp2(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float4x2)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float4x3 Exp2(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float4x3)})"); + + /// + /// Returns the base-2 exponential of the specified value. + /// + /// The specified value. + /// The base-2 exponential of the parameter. + [Pure] + [HlslIntrinsicName("exp2")] + public static Float4x4 Exp2(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Exp2)}({typeof(Float4x4)})"); + + /// + /// Gets the location of the first set bit starting from the highest order bit and working downward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbithigh")] + public static int FirstBitHigh(int value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitHigh)}({typeof(int)})"); + + /// + /// Gets the location of the first set bit starting from the highest order bit and working downward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbithigh")] + public static Int2 FirstBitHigh(Int2 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitHigh)}({typeof(Int2)})"); + + /// + /// Gets the location of the first set bit starting from the highest order bit and working downward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbithigh")] + public static Int3 FirstBitHigh(Int3 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitHigh)}({typeof(Int3)})"); + + /// + /// Gets the location of the first set bit starting from the highest order bit and working downward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbithigh")] + public static Int4 FirstBitHigh(Int4 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitHigh)}({typeof(Int4)})"); + + /// + /// Gets the location of the first set bit starting from the highest order bit and working downward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbithigh")] + public static uint FirstBitHigh(uint value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitHigh)}({typeof(uint)})"); + + /// + /// Gets the location of the first set bit starting from the highest order bit and working downward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbithigh")] + public static UInt2 FirstBitHigh(UInt2 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitHigh)}({typeof(UInt2)})"); + + /// + /// Gets the location of the first set bit starting from the highest order bit and working downward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbithigh")] + public static UInt3 FirstBitHigh(UInt3 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitHigh)}({typeof(UInt3)})"); + + /// + /// Gets the location of the first set bit starting from the highest order bit and working downward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbithigh")] + public static UInt4 FirstBitHigh(UInt4 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitHigh)}({typeof(UInt4)})"); + + /// + /// Returns the location of the first set bit starting from the lowest order bit and working upward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbitlow")] + public static int FirstBitLow(int value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitLow)}({typeof(int)})"); + + /// + /// Returns the location of the first set bit starting from the lowest order bit and working upward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbitlow")] + public static Int2 FirstBitLow(Int2 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitLow)}({typeof(Int2)})"); + + /// + /// Returns the location of the first set bit starting from the lowest order bit and working upward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbitlow")] + public static Int3 FirstBitLow(Int3 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitLow)}({typeof(Int3)})"); + + /// + /// Returns the location of the first set bit starting from the lowest order bit and working upward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbitlow")] + public static Int4 FirstBitLow(Int4 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitLow)}({typeof(Int4)})"); + + /// + /// Returns the location of the first set bit starting from the lowest order bit and working upward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbitlow")] + public static uint FirstBitLow(uint value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitLow)}({typeof(uint)})"); + + /// + /// Returns the location of the first set bit starting from the lowest order bit and working upward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbitlow")] + public static UInt2 FirstBitLow(UInt2 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitLow)}({typeof(UInt2)})"); + + /// + /// Returns the location of the first set bit starting from the lowest order bit and working upward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbitlow")] + public static UInt3 FirstBitLow(UInt3 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitLow)}({typeof(UInt3)})"); + + /// + /// Returns the location of the first set bit starting from the lowest order bit and working upward, per component. + /// + /// The input value. + /// The location of the first set bit. + [Pure] + [HlslIntrinsicName("firstbitlow")] + public static UInt4 FirstBitLow(UInt4 value) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FirstBitLow)}({typeof(UInt4)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static float Floor(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(float)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float2 Floor(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float2)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float3 Floor(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float3)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float4 Floor(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float4)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float1x1 Floor(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float1x1)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float1x2 Floor(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float1x2)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float1x3 Floor(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float1x3)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float1x4 Floor(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float1x4)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float2x1 Floor(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float2x1)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float2x2 Floor(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float2x2)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float2x3 Floor(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float2x3)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float2x4 Floor(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float2x4)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float3x1 Floor(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float3x1)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float3x2 Floor(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float3x2)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float3x3 Floor(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float3x3)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float3x4 Floor(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float3x4)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float4x1 Floor(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float4x1)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float4x2 Floor(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float4x2)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float4x3 Floor(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float4x3)})"); + + /// + /// Returns the largest integer that is less than or equal to the specified value. + /// + /// The specified value. + /// The largest integer value (returned as a floating-point type) that is less than or equal to the parameter. + [Pure] + [HlslIntrinsicName("floor")] + public static Float4x4 Floor(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Floor)}({typeof(Float4x4)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static double FusedMultiplyAccumulate(double a, double b, double c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(double)}, {typeof(double)}, {typeof(double)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double2 FusedMultiplyAccumulate(Double2 a, Double2 b, Double2 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double2)}, {typeof(Double2)}, {typeof(Double2)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double3 FusedMultiplyAccumulate(Double3 a, Double3 b, Double3 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double3)}, {typeof(Double3)}, {typeof(Double3)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double4 FusedMultiplyAccumulate(Double4 a, Double4 b, Double4 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double4)}, {typeof(Double4)}, {typeof(Double4)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double1x1 FusedMultiplyAccumulate(Double1x1 a, Double1x1 b, Double1x1 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double1x1)}, {typeof(Double1x1)}, {typeof(Double1x1)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double1x2 FusedMultiplyAccumulate(Double1x2 a, Double1x2 b, Double1x2 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double1x2)}, {typeof(Double1x2)}, {typeof(Double1x2)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double1x3 FusedMultiplyAccumulate(Double1x3 a, Double1x3 b, Double1x3 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double1x3)}, {typeof(Double1x3)}, {typeof(Double1x3)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double1x4 FusedMultiplyAccumulate(Double1x4 a, Double1x4 b, Double1x4 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double1x4)}, {typeof(Double1x4)}, {typeof(Double1x4)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double2x1 FusedMultiplyAccumulate(Double2x1 a, Double2x1 b, Double2x1 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double2x1)}, {typeof(Double2x1)}, {typeof(Double2x1)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double2x2 FusedMultiplyAccumulate(Double2x2 a, Double2x2 b, Double2x2 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double2x2)}, {typeof(Double2x2)}, {typeof(Double2x2)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double2x3 FusedMultiplyAccumulate(Double2x3 a, Double2x3 b, Double2x3 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double2x3)}, {typeof(Double2x3)}, {typeof(Double2x3)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double2x4 FusedMultiplyAccumulate(Double2x4 a, Double2x4 b, Double2x4 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double2x4)}, {typeof(Double2x4)}, {typeof(Double2x4)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double3x1 FusedMultiplyAccumulate(Double3x1 a, Double3x1 b, Double3x1 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double3x1)}, {typeof(Double3x1)}, {typeof(Double3x1)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double3x2 FusedMultiplyAccumulate(Double3x2 a, Double3x2 b, Double3x2 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double3x2)}, {typeof(Double3x2)}, {typeof(Double3x2)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double3x3 FusedMultiplyAccumulate(Double3x3 a, Double3x3 b, Double3x3 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double3x3)}, {typeof(Double3x3)}, {typeof(Double3x3)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double3x4 FusedMultiplyAccumulate(Double3x4 a, Double3x4 b, Double3x4 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double3x4)}, {typeof(Double3x4)}, {typeof(Double3x4)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double4x1 FusedMultiplyAccumulate(Double4x1 a, Double4x1 b, Double4x1 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double4x1)}, {typeof(Double4x1)}, {typeof(Double4x1)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double4x2 FusedMultiplyAccumulate(Double4x2 a, Double4x2 b, Double4x2 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double4x2)}, {typeof(Double4x2)}, {typeof(Double4x2)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double4x3 FusedMultiplyAccumulate(Double4x3 a, Double4x3 b, Double4x3 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double4x3)}, {typeof(Double4x3)}, {typeof(Double4x3)})"); + + /// + /// Returns the double-precision fused multiply-addition of a * b + c. + /// + /// The first value in the fused multiply-addition. + /// The second value in the fused multiply-addition. + /// The third value in the fused multiply-addition. + /// The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP). + [Pure] + [HlslIntrinsicName("fma")] + public static Double4x4 FusedMultiplyAccumulate(Double4x4 a, Double4x4 b, Double4x4 c) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(FusedMultiplyAccumulate)}({typeof(Double4x4)}, {typeof(Double4x4)}, {typeof(Double4x4)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static float Fmod(float x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(float)}, {typeof(float)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float2 Fmod(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float3 Fmod(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float4 Fmod(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float1x1 Fmod(Float1x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float1x2 Fmod(Float1x2 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float1x3 Fmod(Float1x3 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float1x4 Fmod(Float1x4 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float2x1 Fmod(Float2x1 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float2x2 Fmod(Float2x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float2x3 Fmod(Float2x3 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float2x4 Fmod(Float2x4 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float3x1 Fmod(Float3x1 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float3x2 Fmod(Float3x2 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float3x3 Fmod(Float3x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float3x4 Fmod(Float3x4 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float4x1 Fmod(Float4x1 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float4x2 Fmod(Float4x2 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float4x3 Fmod(Float4x3 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Returns the floating-point remainder of x / y. + /// + /// The floating-point dividend. + /// The floating-point divisor. + /// The floating-point remainder of the x parameter divided by the y parameter. + [Pure] + [HlslIntrinsicName("fmod")] + public static Float4x4 Fmod(Float4x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Fmod)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static float Frac(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(float)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float2 Frac(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float2)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float3 Frac(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float3)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float4 Frac(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float4)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float1x1 Frac(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float1x1)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float1x2 Frac(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float1x2)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float1x3 Frac(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float1x3)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float1x4 Frac(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float1x4)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float2x1 Frac(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float2x1)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float2x2 Frac(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float2x2)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float2x3 Frac(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float2x3)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float2x4 Frac(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float2x4)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float3x1 Frac(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float3x1)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float3x2 Frac(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float3x2)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float3x3 Frac(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float3x3)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float3x4 Frac(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float3x4)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float4x1 Frac(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float4x1)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float4x2 Frac(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float4x2)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float4x3 Frac(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float4x3)})"); + + /// + /// Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1. + /// + /// The specified value. + /// The fractional part of the parameter. + [Pure] + [HlslIntrinsicName("frac")] + public static Float4x4 Frac(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frac)}({typeof(Float4x4)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static float Frexp(float x, float exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(float)}, {typeof(float)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float2 Frexp(Float2 x, Float2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float3 Frexp(Float3 x, Float3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float4 Frexp(Float4 x, Float4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float1x1 Frexp(Float1x1 x, Float1x1 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float1x2 Frexp(Float1x2 x, Float1x2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float1x3 Frexp(Float1x3 x, Float1x3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float1x4 Frexp(Float1x4 x, Float1x4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float2x1 Frexp(Float2x1 x, Float2x1 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float2x2 Frexp(Float2x2 x, Float2x2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float2x3 Frexp(Float2x3 x, Float2x3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float2x4 Frexp(Float2x4 x, Float2x4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float3x1 Frexp(Float3x1 x, Float3x1 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float3x2 Frexp(Float3x2 x, Float3x2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float3x3 Frexp(Float3x3 x, Float3x3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float3x4 Frexp(Float3x4 x, Float3x4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float4x1 Frexp(Float4x1 x, Float4x1 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float4x2 Frexp(Float4x2 x, Float4x2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float4x3 Frexp(Float4x3 x, Float4x3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Returns the mantissa and exponent of the specified floating-point value. + /// + /// The specified floating-point value. + /// The returned exponent of the input parameter. + /// The mantissa of the parameter. + [HlslIntrinsicName("frexp")] + public static Float4x4 Frexp(Float4x4 x, Float4x4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Frexp)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static bool IsFinite(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(float)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool2 IsFinite(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float2)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool3 IsFinite(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float3)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool4 IsFinite(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float4)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool1x1 IsFinite(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float1x1)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool1x2 IsFinite(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float1x2)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool1x3 IsFinite(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float1x3)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool1x4 IsFinite(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float1x4)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool2x1 IsFinite(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float2x1)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool2x2 IsFinite(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float2x2)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool2x3 IsFinite(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float2x3)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool2x4 IsFinite(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float2x4)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool3x1 IsFinite(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float3x1)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool3x2 IsFinite(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float3x2)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool3x3 IsFinite(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float3x3)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool3x4 IsFinite(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float3x4)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool4x1 IsFinite(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float4x1)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool4x2 IsFinite(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float4x2)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool4x3 IsFinite(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float4x3)})"); + + /// + /// Determines if the specified floating-point value is finite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is finite. + [Pure] + [HlslIntrinsicName("isfinite")] + public static Bool4x4 IsFinite(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsFinite)}({typeof(Float4x4)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static bool IsInfinite(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(float)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool2 IsInfinite(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float2)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool3 IsInfinite(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float3)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool4 IsInfinite(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float4)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool1x1 IsInfinite(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float1x1)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool1x2 IsInfinite(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float1x2)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool1x3 IsInfinite(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float1x3)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool1x4 IsInfinite(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float1x4)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool2x1 IsInfinite(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float2x1)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool2x2 IsInfinite(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float2x2)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool2x3 IsInfinite(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float2x3)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool2x4 IsInfinite(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float2x4)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool3x1 IsInfinite(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float3x1)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool3x2 IsInfinite(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float3x2)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool3x3 IsInfinite(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float3x3)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool3x4 IsInfinite(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float3x4)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool4x1 IsInfinite(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float4x1)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool4x2 IsInfinite(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float4x2)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool4x3 IsInfinite(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float4x3)})"); + + /// + /// Determines if the specified value is infinite. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is infinite. + [Pure] + [HlslIntrinsicName("isinf")] + public static Bool4x4 IsInfinite(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsInfinite)}({typeof(Float4x4)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static bool IsNaN(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(float)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool2 IsNaN(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float2)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool3 IsNaN(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float3)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool4 IsNaN(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float4)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool1x1 IsNaN(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float1x1)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool1x2 IsNaN(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float1x2)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool1x3 IsNaN(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float1x3)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool1x4 IsNaN(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float1x4)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool2x1 IsNaN(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float2x1)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool2x2 IsNaN(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float2x2)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool2x3 IsNaN(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float2x3)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool2x4 IsNaN(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float2x4)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool3x1 IsNaN(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float3x1)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool3x2 IsNaN(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float3x2)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool3x3 IsNaN(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float3x3)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool3x4 IsNaN(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float3x4)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool4x1 IsNaN(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float4x1)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool4x2 IsNaN(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float4x2)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool4x3 IsNaN(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float4x3)})"); + + /// + /// Determines if the specified value is NAN or QNAN. + /// + /// The specified value. + /// Returns a value of the same size as , indicaating whether each component is NAN or QNAN. + [Pure] + [HlslIntrinsicName("isnan")] + public static Bool4x4 IsNaN(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(IsNaN)}({typeof(Float4x4)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static float Ldexp(float x, float exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(float)}, {typeof(float)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float2 Ldexp(Float2 x, Float2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float3 Ldexp(Float3 x, Float3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float4 Ldexp(Float4 x, Float4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float1x1 Ldexp(Float1x1 x, Float1x1 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float1x2 Ldexp(Float1x2 x, Float1x2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float1x3 Ldexp(Float1x3 x, Float1x3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float1x4 Ldexp(Float1x4 x, Float1x4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float2x1 Ldexp(Float2x1 x, Float2x1 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float2x2 Ldexp(Float2x2 x, Float2x2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float2x3 Ldexp(Float2x3 x, Float2x3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float2x4 Ldexp(Float2x4 x, Float2x4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float3x1 Ldexp(Float3x1 x, Float3x1 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float3x2 Ldexp(Float3x2 x, Float3x2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float3x3 Ldexp(Float3x3 x, Float3x3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float3x4 Ldexp(Float3x4 x, Float3x4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float4x1 Ldexp(Float4x1 x, Float4x1 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float4x2 Ldexp(Float4x2 x, Float4x2 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float4x3 Ldexp(Float4x3 x, Float4x3 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent. + /// + /// The specified value. + /// The specified exponent. + /// The result of multiplying the parameter by two, raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("ldexp")] + public static Float4x4 Ldexp(Float4x4 x, Float4x4 exp) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Ldexp)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Returns the length of the specified floating-point vector. + /// + /// The specified floating-point vector. + /// A floating-point scalar that represents the length of the parameter. + [Pure] + [HlslIntrinsicName("length")] + public static float Length(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Length)}({typeof(Float2)})"); + + /// + /// Returns the length of the specified floating-point vector. + /// + /// The specified floating-point vector. + /// A floating-point scalar that represents the length of the parameter. + [Pure] + [HlslIntrinsicName("length")] + public static float Length(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Length)}({typeof(Float3)})"); + + /// + /// Returns the length of the specified floating-point vector. + /// + /// The specified floating-point vector. + /// A floating-point scalar that represents the length of the parameter. + [Pure] + [HlslIntrinsicName("length")] + public static float Length(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Length)}({typeof(Float4)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static float Lerp(float x, float min, float max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(float)}, {typeof(float)}, {typeof(float)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float2 Lerp(Float2 x, Float2 min, Float2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float2)}, {typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float3 Lerp(Float3 x, Float3 min, Float3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float3)}, {typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float4 Lerp(Float4 x, Float4 min, Float4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float4)}, {typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float1x1 Lerp(Float1x1 x, Float1x1 min, Float1x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float1x1)}, {typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float1x2 Lerp(Float1x2 x, Float1x2 min, Float1x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float1x2)}, {typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float1x3 Lerp(Float1x3 x, Float1x3 min, Float1x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float1x3)}, {typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float1x4 Lerp(Float1x4 x, Float1x4 min, Float1x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float1x4)}, {typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float2x1 Lerp(Float2x1 x, Float2x1 min, Float2x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float2x1)}, {typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float2x2 Lerp(Float2x2 x, Float2x2 min, Float2x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float2x2)}, {typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float2x3 Lerp(Float2x3 x, Float2x3 min, Float2x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float2x3)}, {typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float2x4 Lerp(Float2x4 x, Float2x4 min, Float2x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float2x4)}, {typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float3x1 Lerp(Float3x1 x, Float3x1 min, Float3x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float3x1)}, {typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float3x2 Lerp(Float3x2 x, Float3x2 min, Float3x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float3x2)}, {typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float3x3 Lerp(Float3x3 x, Float3x3 min, Float3x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float3x3)}, {typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float3x4 Lerp(Float3x4 x, Float3x4 min, Float3x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float3x4)}, {typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float4x1 Lerp(Float4x1 x, Float4x1 min, Float4x1 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float4x1)}, {typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float4x2 Lerp(Float4x2 x, Float4x2 min, Float4x2 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float4x2)}, {typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float4x3 Lerp(Float4x3 x, Float4x3 min, Float4x3 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float4x3)}, {typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Performs a linear interpolation. + /// + /// The first-floating point value. + /// The second-floating point value. + /// A value that linearly interpolates between the two inputs. + /// The result of the linear interpolation. + [Pure] + [HlslIntrinsicName("lerp")] + public static Float4x4 Lerp(Float4x4 x, Float4x4 min, Float4x4 max) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Lerp)}({typeof(Float4x4)}, {typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static float Log(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(float)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float2 Log(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float2)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float3 Log(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float3)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float4 Log(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float4)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float1x1 Log(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float1x1)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float1x2 Log(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float1x2)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float1x3 Log(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float1x3)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float1x4 Log(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float1x4)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float2x1 Log(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float2x1)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float2x2 Log(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float2x2)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float2x3 Log(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float2x3)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float2x4 Log(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float2x4)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float3x1 Log(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float3x1)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float3x2 Log(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float3x2)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float3x3 Log(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float3x3)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float3x4 Log(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float3x4)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float4x1 Log(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float4x1)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float4x2 Log(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float4x2)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float4x3 Log(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float4x3)})"); + + /// + /// Returns the base-e logarithm of the specified value. + /// + /// The specified value. + /// The base-e logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log")] + public static Float4x4 Log(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log)}({typeof(Float4x4)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static float Log10(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(float)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float2 Log10(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float2)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float3 Log10(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float3)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float4 Log10(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float4)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float1x1 Log10(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float1x1)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float1x2 Log10(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float1x2)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float1x3 Log10(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float1x3)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float1x4 Log10(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float1x4)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float2x1 Log10(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float2x1)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float2x2 Log10(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float2x2)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float2x3 Log10(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float2x3)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float2x4 Log10(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float2x4)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float3x1 Log10(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float3x1)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float3x2 Log10(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float3x2)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float3x3 Log10(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float3x3)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float3x4 Log10(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float3x4)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float4x1 Log10(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float4x1)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float4x2 Log10(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float4x2)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float4x3 Log10(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float4x3)})"); + + /// + /// Returns the base-10 logarithm of the specified value. + /// + /// The specified value. + /// The base-10 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log10")] + public static Float4x4 Log10(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log10)}({typeof(Float4x4)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static float Log2(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(float)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float2 Log2(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float2)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float3 Log2(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float3)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float4 Log2(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float4)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float1x1 Log2(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float1x1)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float1x2 Log2(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float1x2)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float1x3 Log2(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float1x3)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float1x4 Log2(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float1x4)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float2x1 Log2(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float2x1)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float2x2 Log2(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float2x2)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float2x3 Log2(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float2x3)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float2x4 Log2(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float2x4)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float3x1 Log2(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float3x1)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float3x2 Log2(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float3x2)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float3x3 Log2(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float3x3)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float3x4 Log2(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float3x4)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float4x1 Log2(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float4x1)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float4x2 Log2(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float4x2)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float4x3 Log2(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float4x3)})"); + + /// + /// Returns the base-2 logarithm of the specified value. + /// + /// The specified value. + /// The base-2 logarithm of the parameter. If the parameter is negative, this function returns indefinite. If the parameter is 0, this function returns negative infinity. + [Pure] + [HlslIntrinsicName("log2")] + public static Float4x4 Log2(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Log2)}({typeof(Float4x4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static float Max(float x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(float)}, {typeof(float)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float2 Max(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float3 Max(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float4 Max(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float1x1 Max(Float1x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float1x2 Max(Float1x2 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float1x3 Max(Float1x3 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float1x4 Max(Float1x4 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float2x1 Max(Float2x1 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float2x2 Max(Float2x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float2x3 Max(Float2x3 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float2x4 Max(Float2x4 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float3x1 Max(Float3x1 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float3x2 Max(Float3x2 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float3x3 Max(Float3x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float3x4 Max(Float3x4 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float4x1 Max(Float4x1 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float4x2 Max(Float4x2 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float4x3 Max(Float4x3 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Float4x4 Max(Float4x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static int Max(int x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(int)}, {typeof(int)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int2 Max(Int2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int2)}, {typeof(Int2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int3 Max(Int3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int3)}, {typeof(Int3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int4 Max(Int4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int4)}, {typeof(Int4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int1x1 Max(Int1x1 x, Int1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int1x1)}, {typeof(Int1x1)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int1x2 Max(Int1x2 x, Int1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int1x2)}, {typeof(Int1x2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int1x3 Max(Int1x3 x, Int1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int1x3)}, {typeof(Int1x3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int1x4 Max(Int1x4 x, Int1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int1x4)}, {typeof(Int1x4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int2x1 Max(Int2x1 x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int2x1)}, {typeof(Int2x1)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int2x2 Max(Int2x2 x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int2x2)}, {typeof(Int2x2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int2x3 Max(Int2x3 x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int2x3)}, {typeof(Int2x3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int2x4 Max(Int2x4 x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int2x4)}, {typeof(Int2x4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int3x1 Max(Int3x1 x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int3x1)}, {typeof(Int3x1)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int3x2 Max(Int3x2 x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int3x2)}, {typeof(Int3x2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int3x3 Max(Int3x3 x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int3x3)}, {typeof(Int3x3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int3x4 Max(Int3x4 x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int3x4)}, {typeof(Int3x4)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int4x1 Max(Int4x1 x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int4x1)}, {typeof(Int4x1)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int4x2 Max(Int4x2 x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int4x2)}, {typeof(Int4x2)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int4x3 Max(Int4x3 x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int4x3)}, {typeof(Int4x3)})"); + + /// + /// Selects the greater between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the largest value. + [Pure] + [HlslIntrinsicName("max")] + public static Int4x4 Max(Int4x4 x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Max)}({typeof(Int4x4)}, {typeof(Int4x4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static float Min(float x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(float)}, {typeof(float)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float2 Min(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float3 Min(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float4 Min(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float1x1 Min(Float1x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float1x2 Min(Float1x2 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float1x3 Min(Float1x3 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float1x4 Min(Float1x4 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float2x1 Min(Float2x1 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float2x2 Min(Float2x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float2x3 Min(Float2x3 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float2x4 Min(Float2x4 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float3x1 Min(Float3x1 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float3x2 Min(Float3x2 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float3x3 Min(Float3x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float3x4 Min(Float3x4 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float4x1 Min(Float4x1 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float4x2 Min(Float4x2 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float4x3 Min(Float4x3 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Float4x4 Min(Float4x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static int Min(int x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(int)}, {typeof(int)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int2 Min(Int2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int2)}, {typeof(Int2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int3 Min(Int3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int3)}, {typeof(Int3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int4 Min(Int4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int4)}, {typeof(Int4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int1x1 Min(Int1x1 x, Int1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int1x1)}, {typeof(Int1x1)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int1x2 Min(Int1x2 x, Int1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int1x2)}, {typeof(Int1x2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int1x3 Min(Int1x3 x, Int1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int1x3)}, {typeof(Int1x3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int1x4 Min(Int1x4 x, Int1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int1x4)}, {typeof(Int1x4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int2x1 Min(Int2x1 x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int2x1)}, {typeof(Int2x1)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int2x2 Min(Int2x2 x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int2x2)}, {typeof(Int2x2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int2x3 Min(Int2x3 x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int2x3)}, {typeof(Int2x3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int2x4 Min(Int2x4 x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int2x4)}, {typeof(Int2x4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int3x1 Min(Int3x1 x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int3x1)}, {typeof(Int3x1)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int3x2 Min(Int3x2 x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int3x2)}, {typeof(Int3x2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int3x3 Min(Int3x3 x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int3x3)}, {typeof(Int3x3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int3x4 Min(Int3x4 x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int3x4)}, {typeof(Int3x4)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int4x1 Min(Int4x1 x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int4x1)}, {typeof(Int4x1)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int4x2 Min(Int4x2 x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int4x2)}, {typeof(Int4x2)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int4x3 Min(Int4x3 x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int4x3)}, {typeof(Int4x3)})"); + + /// + /// Selects the lesser between two inputs. + /// + /// The first input value. + /// The second input value. + /// The or parameter, whichever is the smallest value. + [Pure] + [HlslIntrinsicName("min")] + public static Int4x4 Min(Int4x4 x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Min)}({typeof(Int4x4)}, {typeof(Int4x4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static float Modf(float x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(float)}, {typeof(float)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float2 Modf(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float3 Modf(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float4 Modf(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float1x1 Modf(Float1x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float1x2 Modf(Float1x2 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float1x3 Modf(Float1x3 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float1x4 Modf(Float1x4 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float2x1 Modf(Float2x1 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float2x2 Modf(Float2x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float2x3 Modf(Float2x3 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float2x4 Modf(Float2x4 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float3x1 Modf(Float3x1 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float3x2 Modf(Float3x2 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float3x3 Modf(Float3x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float3x4 Modf(Float3x4 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float4x1 Modf(Float4x1 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float4x2 Modf(Float4x2 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float4x3 Modf(Float4x3 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Float4x4 Modf(Float4x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static int Modf(int x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(int)}, {typeof(int)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int2 Modf(Int2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int2)}, {typeof(Int2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int3 Modf(Int3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int3)}, {typeof(Int3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int4 Modf(Int4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int4)}, {typeof(Int4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int1x1 Modf(Int1x1 x, Int1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int1x1)}, {typeof(Int1x1)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int1x2 Modf(Int1x2 x, Int1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int1x2)}, {typeof(Int1x2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int1x3 Modf(Int1x3 x, Int1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int1x3)}, {typeof(Int1x3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int1x4 Modf(Int1x4 x, Int1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int1x4)}, {typeof(Int1x4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int2x1 Modf(Int2x1 x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int2x1)}, {typeof(Int2x1)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int2x2 Modf(Int2x2 x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int2x2)}, {typeof(Int2x2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int2x3 Modf(Int2x3 x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int2x3)}, {typeof(Int2x3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int2x4 Modf(Int2x4 x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int2x4)}, {typeof(Int2x4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int3x1 Modf(Int3x1 x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int3x1)}, {typeof(Int3x1)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int3x2 Modf(Int3x2 x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int3x2)}, {typeof(Int3x2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int3x3 Modf(Int3x3 x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int3x3)}, {typeof(Int3x3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int3x4 Modf(Int3x4 x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int3x4)}, {typeof(Int3x4)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int4x1 Modf(Int4x1 x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int4x1)}, {typeof(Int4x1)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int4x2 Modf(Int4x2 x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int4x2)}, {typeof(Int4x2)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int4x3 Modf(Int4x3 x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int4x3)}, {typeof(Int4x3)})"); + + /// + /// Splits a value into fractional and integer parts, each with the same sign as the input value. + /// + /// The input value. + /// The resulting integer portion. + /// The signed-fractional portion of . + [Pure] + [HlslIntrinsicName("modf")] + public static Int4x4 Modf(Int4x4 x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Modf)}({typeof(Int4x4)}, {typeof(Int4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(float x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(int x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2 Mul(float x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3 Mul(float x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4 Mul(float x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2 Mul(int x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3 Mul(int x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4 Mul(int x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x1 Mul(float x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x2 Mul(float x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x3 Mul(float x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x4 Mul(float x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x1 Mul(float x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x2 Mul(float x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x3 Mul(float x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x4 Mul(float x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x1 Mul(float x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x2 Mul(float x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x3 Mul(float x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x4 Mul(float x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x1 Mul(float x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x2 Mul(float x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x3 Mul(float x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x4 Mul(float x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(float)}, {typeof(Float4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x1 Mul(int x, Int1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x2 Mul(int x, Int1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x3 Mul(int x, Int1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x4 Mul(int x, Int1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x1 Mul(int x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x2 Mul(int x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x3 Mul(int x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x4 Mul(int x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x1 Mul(int x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x2 Mul(int x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x3 Mul(int x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x4 Mul(int x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x1 Mul(int x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x2 Mul(int x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x3 Mul(int x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x4 Mul(int x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(int)}, {typeof(Int4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2 Mul(Float2 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3 Mul(Float3 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4 Mul(Float4 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2 Mul(Int2 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3 Mul(Int3 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4 Mul(Int4 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2)}, {typeof(Int2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3)}, {typeof(Int3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4)}, {typeof(Int4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float2 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2)}, {typeof(Float2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2 Mul(Float2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2)}, {typeof(Float2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3 Mul(Float2 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2)}, {typeof(Float2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4 Mul(Float2 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2)}, {typeof(Float2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float3 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3)}, {typeof(Float3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2 Mul(Float3 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3)}, {typeof(Float3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3 Mul(Float3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3)}, {typeof(Float3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4 Mul(Float3 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3)}, {typeof(Float3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float4 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4)}, {typeof(Float4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2 Mul(Float4 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4)}, {typeof(Float4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3 Mul(Float4 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4)}, {typeof(Float4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4 Mul(Float4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4)}, {typeof(Float4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int2 x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2)}, {typeof(Int2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2 Mul(Int2 x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2)}, {typeof(Int2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3 Mul(Int2 x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2)}, {typeof(Int2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4 Mul(Int2 x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2)}, {typeof(Int2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int3 x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3)}, {typeof(Int3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2 Mul(Int3 x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3)}, {typeof(Int3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3 Mul(Int3 x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3)}, {typeof(Int3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4 Mul(Int3 x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3)}, {typeof(Int3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int4 x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4)}, {typeof(Int4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2 Mul(Int4 x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4)}, {typeof(Int4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3 Mul(Int4 x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4)}, {typeof(Int4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4 Mul(Int4 x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4)}, {typeof(Int4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x1 Mul(Float1x1 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x1)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x2 Mul(Float1x2 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x2)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x3 Mul(Float1x3 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x3)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x4 Mul(Float1x4 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x4)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x1 Mul(Float2x1 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x1)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x2 Mul(Float2x2 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x2)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x3 Mul(Float2x3 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x3)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x4 Mul(Float2x4 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x4)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x1 Mul(Float3x1 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x1)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x2 Mul(Float3x2 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x2)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x3 Mul(Float3x3 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x3)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x4 Mul(Float3x4 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x4)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x1 Mul(Float4x1 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x1)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x2 Mul(Float4x2 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x2)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x3 Mul(Float4x3 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x3)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x4 Mul(Float4x4 x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x4)}, {typeof(float)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x1 Mul(Int1x1 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x1)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x2 Mul(Int1x2 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x2)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x3 Mul(Int1x3 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x3)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x4 Mul(Int1x4 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x4)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x1 Mul(Int2x1 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x1)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x2 Mul(Int2x2 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x2)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x3 Mul(Int2x3 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x3)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x4 Mul(Int2x4 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x4)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x1 Mul(Int3x1 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x1)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x2 Mul(Int3x2 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x2)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x3 Mul(Int3x3 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x3)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x4 Mul(Int3x4 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x4)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x1 Mul(Int4x1 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x1)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x2 Mul(Int4x2 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x2)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x3 Mul(Int4x3 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x3)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x4 Mul(Int4x4 x, int y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x4)}, {typeof(int)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float1x2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x2)}, {typeof(Float2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float1x3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x3)}, {typeof(Float3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static float Mul(Float1x4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x4)}, {typeof(Float4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2 Mul(Float2x2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x2)}, {typeof(Float2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2 Mul(Float2x3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x3)}, {typeof(Float3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2 Mul(Float2x4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x4)}, {typeof(Float4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3 Mul(Float3x2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x2)}, {typeof(Float2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3 Mul(Float3x3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x3)}, {typeof(Float3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3 Mul(Float3x4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x4)}, {typeof(Float4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4 Mul(Float4x2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x2)}, {typeof(Float2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4 Mul(Float4x3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x3)}, {typeof(Float3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4 Mul(Float4x4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x4)}, {typeof(Float4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int1x2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x2)}, {typeof(Int2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int1x3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x3)}, {typeof(Int3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static int Mul(Int1x4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x4)}, {typeof(Int4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2 Mul(Int2x2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x2)}, {typeof(Int2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2 Mul(Int2x3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x3)}, {typeof(Int3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2 Mul(Int2x4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x4)}, {typeof(Int4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3 Mul(Int3x2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x2)}, {typeof(Int2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3 Mul(Int3x3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x3)}, {typeof(Int3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3 Mul(Int3x4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x4)}, {typeof(Int4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4 Mul(Int4x2 x, Int2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x2)}, {typeof(Int2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4 Mul(Int4x3 x, Int3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x3)}, {typeof(Int3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4 Mul(Int4x4 x, Int4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x4)}, {typeof(Int4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x1 Mul(Float1x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x2 Mul(Float1x1 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x1)}, {typeof(Float1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x3 Mul(Float1x1 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x1)}, {typeof(Float1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x4 Mul(Float1x1 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x1)}, {typeof(Float1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x1 Mul(Float1x2 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x2)}, {typeof(Float2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x2 Mul(Float1x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x2)}, {typeof(Float2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x3 Mul(Float1x2 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x2)}, {typeof(Float2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x4 Mul(Float1x2 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x2)}, {typeof(Float2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x1 Mul(Float1x3 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x3)}, {typeof(Float3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x2 Mul(Float1x3 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x3)}, {typeof(Float3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x3 Mul(Float1x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x3)}, {typeof(Float3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x4 Mul(Float1x3 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x3)}, {typeof(Float3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x1 Mul(Float1x4 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x4)}, {typeof(Float4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x2 Mul(Float1x4 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x4)}, {typeof(Float4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x3 Mul(Float1x4 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x4)}, {typeof(Float4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float1x4 Mul(Float1x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float1x4)}, {typeof(Float4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x1 Mul(Float2x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x1)}, {typeof(Float1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x2 Mul(Float2x1 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x1)}, {typeof(Float1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x3 Mul(Float2x1 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x1)}, {typeof(Float1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x4 Mul(Float2x1 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x1)}, {typeof(Float1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x1 Mul(Float2x2 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x2)}, {typeof(Float2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x2 Mul(Float2x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x3 Mul(Float2x2 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x2)}, {typeof(Float2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x4 Mul(Float2x2 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x2)}, {typeof(Float2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x1 Mul(Float2x3 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x3)}, {typeof(Float3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x2 Mul(Float2x3 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x3)}, {typeof(Float3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x3 Mul(Float2x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x3)}, {typeof(Float3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x4 Mul(Float2x3 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x3)}, {typeof(Float3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x1 Mul(Float2x4 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x4)}, {typeof(Float4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x2 Mul(Float2x4 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x4)}, {typeof(Float4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x3 Mul(Float2x4 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x4)}, {typeof(Float4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float2x4 Mul(Float2x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float2x4)}, {typeof(Float4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x1 Mul(Float3x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x1)}, {typeof(Float1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x2 Mul(Float3x1 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x1)}, {typeof(Float1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x3 Mul(Float3x1 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x1)}, {typeof(Float1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x4 Mul(Float3x1 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x1)}, {typeof(Float1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x1 Mul(Float3x2 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x2)}, {typeof(Float2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x2 Mul(Float3x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x2)}, {typeof(Float2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x3 Mul(Float3x2 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x2)}, {typeof(Float2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x4 Mul(Float3x2 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x2)}, {typeof(Float2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x1 Mul(Float3x3 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x3)}, {typeof(Float3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x2 Mul(Float3x3 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x3)}, {typeof(Float3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x3 Mul(Float3x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x4 Mul(Float3x3 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x3)}, {typeof(Float3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x1 Mul(Float3x4 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x4)}, {typeof(Float4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x2 Mul(Float3x4 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x4)}, {typeof(Float4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x3 Mul(Float3x4 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x4)}, {typeof(Float4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float3x4 Mul(Float3x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float3x4)}, {typeof(Float4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x1 Mul(Float4x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x1)}, {typeof(Float1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x2 Mul(Float4x1 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x1)}, {typeof(Float1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x3 Mul(Float4x1 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x1)}, {typeof(Float1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x4 Mul(Float4x1 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x1)}, {typeof(Float1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x1 Mul(Float4x2 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x2)}, {typeof(Float2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x2 Mul(Float4x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x2)}, {typeof(Float2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x3 Mul(Float4x2 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x2)}, {typeof(Float2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x4 Mul(Float4x2 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x2)}, {typeof(Float2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x1 Mul(Float4x3 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x3)}, {typeof(Float3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x2 Mul(Float4x3 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x3)}, {typeof(Float3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x3 Mul(Float4x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x3)}, {typeof(Float3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x4 Mul(Float4x3 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x3)}, {typeof(Float3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x1 Mul(Float4x4 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x4)}, {typeof(Float4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x2 Mul(Float4x4 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x4)}, {typeof(Float4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x3 Mul(Float4x4 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x4)}, {typeof(Float4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Float4x4 Mul(Float4x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x1 Mul(Int1x1 x, Int1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x1)}, {typeof(Int1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x2 Mul(Int1x1 x, Int1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x1)}, {typeof(Int1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x3 Mul(Int1x1 x, Int1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x1)}, {typeof(Int1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x4 Mul(Int1x1 x, Int1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x1)}, {typeof(Int1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x1 Mul(Int1x2 x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x2)}, {typeof(Int2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x2 Mul(Int1x2 x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x2)}, {typeof(Int2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x3 Mul(Int1x2 x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x2)}, {typeof(Int2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x4 Mul(Int1x2 x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x2)}, {typeof(Int2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x1 Mul(Int1x3 x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x3)}, {typeof(Int3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x2 Mul(Int1x3 x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x3)}, {typeof(Int3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x3 Mul(Int1x3 x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x3)}, {typeof(Int3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x4 Mul(Int1x3 x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x3)}, {typeof(Int3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x1 Mul(Int1x4 x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x4)}, {typeof(Int4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x2 Mul(Int1x4 x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x4)}, {typeof(Int4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x3 Mul(Int1x4 x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x4)}, {typeof(Int4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int1x4 Mul(Int1x4 x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int1x4)}, {typeof(Int4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x1 Mul(Int2x1 x, Int1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x1)}, {typeof(Int1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x2 Mul(Int2x1 x, Int1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x1)}, {typeof(Int1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x3 Mul(Int2x1 x, Int1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x1)}, {typeof(Int1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x4 Mul(Int2x1 x, Int1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x1)}, {typeof(Int1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x1 Mul(Int2x2 x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x2)}, {typeof(Int2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x2 Mul(Int2x2 x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x2)}, {typeof(Int2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x3 Mul(Int2x2 x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x2)}, {typeof(Int2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x4 Mul(Int2x2 x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x2)}, {typeof(Int2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x1 Mul(Int2x3 x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x3)}, {typeof(Int3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x2 Mul(Int2x3 x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x3)}, {typeof(Int3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x3 Mul(Int2x3 x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x3)}, {typeof(Int3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x4 Mul(Int2x3 x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x3)}, {typeof(Int3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x1 Mul(Int2x4 x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x4)}, {typeof(Int4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x2 Mul(Int2x4 x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x4)}, {typeof(Int4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x3 Mul(Int2x4 x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x4)}, {typeof(Int4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int2x4 Mul(Int2x4 x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int2x4)}, {typeof(Int4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x1 Mul(Int3x1 x, Int1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x1)}, {typeof(Int1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x2 Mul(Int3x1 x, Int1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x1)}, {typeof(Int1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x3 Mul(Int3x1 x, Int1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x1)}, {typeof(Int1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x4 Mul(Int3x1 x, Int1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x1)}, {typeof(Int1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x1 Mul(Int3x2 x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x2)}, {typeof(Int2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x2 Mul(Int3x2 x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x2)}, {typeof(Int2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x3 Mul(Int3x2 x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x2)}, {typeof(Int2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x4 Mul(Int3x2 x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x2)}, {typeof(Int2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x1 Mul(Int3x3 x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x3)}, {typeof(Int3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x2 Mul(Int3x3 x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x3)}, {typeof(Int3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x3 Mul(Int3x3 x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x3)}, {typeof(Int3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x4 Mul(Int3x3 x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x3)}, {typeof(Int3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x1 Mul(Int3x4 x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x4)}, {typeof(Int4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x2 Mul(Int3x4 x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x4)}, {typeof(Int4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x3 Mul(Int3x4 x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x4)}, {typeof(Int4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int3x4 Mul(Int3x4 x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int3x4)}, {typeof(Int4x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x1 Mul(Int4x1 x, Int1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x1)}, {typeof(Int1x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x2 Mul(Int4x1 x, Int1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x1)}, {typeof(Int1x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x3 Mul(Int4x1 x, Int1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x1)}, {typeof(Int1x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x4 Mul(Int4x1 x, Int1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x1)}, {typeof(Int1x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x1 Mul(Int4x2 x, Int2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x2)}, {typeof(Int2x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x2 Mul(Int4x2 x, Int2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x2)}, {typeof(Int2x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x3 Mul(Int4x2 x, Int2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x2)}, {typeof(Int2x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x4 Mul(Int4x2 x, Int2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x2)}, {typeof(Int2x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x1 Mul(Int4x3 x, Int3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x3)}, {typeof(Int3x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x2 Mul(Int4x3 x, Int3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x3)}, {typeof(Int3x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x3 Mul(Int4x3 x, Int3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x3)}, {typeof(Int3x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x4 Mul(Int4x3 x, Int3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x3)}, {typeof(Int3x4)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x1 Mul(Int4x4 x, Int4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x4)}, {typeof(Int4x1)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x2 Mul(Int4x4 x, Int4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x4)}, {typeof(Int4x2)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x3 Mul(Int4x4 x, Int4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x4)}, {typeof(Int4x3)})"); + + /// + /// Multiplies two values using matrix math. + /// + /// The first input value. + /// The second input value. + /// The result of times . The result has the dimension -rows by -columns. + [Pure] + [HlslIntrinsicName("mul")] + public static Int4x4 Mul(Int4x4 x, Int4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Mul)}({typeof(Int4x4)}, {typeof(Int4x4)})"); + + /// + /// Generates a random value using the Perlin-noise algorithm. + /// + /// A floating-point vector from which to generate Perlin noise. + /// The Perlin noise value within a range between -1 and 1. + [Pure] + [HlslIntrinsicName("noise")] + public static float Noise(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Noise)}({typeof(Float2)})"); + + /// + /// Generates a random value using the Perlin-noise algorithm. + /// + /// A floating-point vector from which to generate Perlin noise. + /// The Perlin noise value within a range between -1 and 1. + [Pure] + [HlslIntrinsicName("noise")] + public static float Noise(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Noise)}({typeof(Float3)})"); + + /// + /// Generates a random value using the Perlin-noise algorithm. + /// + /// A floating-point vector from which to generate Perlin noise. + /// The Perlin noise value within a range between -1 and 1. + [Pure] + [HlslIntrinsicName("noise")] + public static float Noise(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Noise)}({typeof(Float4)})"); + + /// + /// Normalizes the specified floating-point vector according to x / length(x). + /// + /// The specified floating-point vector. + /// The normalized parameter. If the length of the parameter is 0, the result is indefinite. + [Pure] + [HlslIntrinsicName("normalize")] + public static float Normalize(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Normalize)}({typeof(Float2)})"); + + /// + /// Normalizes the specified floating-point vector according to x / length(x). + /// + /// The specified floating-point vector. + /// The normalized parameter. If the length of the parameter is 0, the result is indefinite. + [Pure] + [HlslIntrinsicName("normalize")] + public static float Normalize(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Normalize)}({typeof(Float3)})"); + + /// + /// Normalizes the specified floating-point vector according to x / length(x). + /// + /// The specified floating-point vector. + /// The normalized parameter. If the length of the parameter is 0, the result is indefinite. + [Pure] + [HlslIntrinsicName("normalize")] + public static float Normalize(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Normalize)}({typeof(Float4)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static float Pow(float x, float y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(float)}, {typeof(float)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float2 Pow(Float2 x, Float2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float3 Pow(Float3 x, Float3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float4 Pow(Float4 x, Float4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float1x1 Pow(Float1x1 x, Float1x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float1x2 Pow(Float1x2 x, Float1x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float1x3 Pow(Float1x3 x, Float1x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float1x4 Pow(Float1x4 x, Float1x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float2x1 Pow(Float2x1 x, Float2x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float2x2 Pow(Float2x2 x, Float2x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float2x3 Pow(Float2x3 x, Float2x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float2x4 Pow(Float2x4 x, Float2x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float3x1 Pow(Float3x1 x, Float3x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float3x2 Pow(Float3x2 x, Float3x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float3x3 Pow(Float3x3 x, Float3x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float3x4 Pow(Float3x4 x, Float3x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float4x1 Pow(Float4x1 x, Float4x1 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float4x2 Pow(Float4x2 x, Float4x2 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float4x3 Pow(Float4x3 x, Float4x3 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Returns the specified value raised to the specified power. + /// + /// The specified value. + /// The specified power. + /// The parameter raised to the power of the parameter. + [Pure] + [HlslIntrinsicName("pow")] + public static Float4x4 Pow(Float4x4 x, Float4x4 y) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Pow)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static float Radians(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(float)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float2 Radians(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float2)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float3 Radians(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float3)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float4 Radians(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float4)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float1x1 Radians(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float1x1)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float1x2 Radians(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float1x2)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float1x3 Radians(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float1x3)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float1x4 Radians(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float1x4)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float2x1 Radians(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float2x1)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float2x2 Radians(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float2x2)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float2x3 Radians(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float2x3)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float2x4 Radians(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float2x4)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float3x1 Radians(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float3x1)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float3x2 Radians(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float3x2)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float3x3 Radians(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float3x3)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float3x4 Radians(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float3x4)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float4x1 Radians(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float4x1)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float4x2 Radians(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float4x2)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float4x3 Radians(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float4x3)})"); + + /// + /// Converts the specified value from degrees to radians. + /// + /// The specified value. + /// The parameter converted from degrees to radians. + [Pure] + [HlslIntrinsicName("radians")] + public static Float4x4 Radians(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Radians)}({typeof(Float4x4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static float Rcp(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(float)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float2 Rcp(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float3 Rcp(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float4 Rcp(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float1x1 Rcp(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float1x1)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float1x2 Rcp(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float1x2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float1x3 Rcp(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float1x3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float1x4 Rcp(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float1x4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float2x1 Rcp(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float2x1)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float2x2 Rcp(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float2x2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float2x3 Rcp(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float2x3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float2x4 Rcp(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float2x4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float3x1 Rcp(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float3x1)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float3x2 Rcp(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float3x2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float3x3 Rcp(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float3x3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float3x4 Rcp(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float3x4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float4x1 Rcp(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float4x1)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float4x2 Rcp(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float4x2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float4x3 Rcp(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float4x3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Float4x4 Rcp(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Float4x4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static double Rcp(double x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(double)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double2 Rcp(Double2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double3 Rcp(Double3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double4 Rcp(Double4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double1x1 Rcp(Double1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double1x1)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double1x2 Rcp(Double1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double1x2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double1x3 Rcp(Double1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double1x3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double1x4 Rcp(Double1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double1x4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double2x1 Rcp(Double2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double2x1)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double2x2 Rcp(Double2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double2x2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double2x3 Rcp(Double2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double2x3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double2x4 Rcp(Double2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double2x4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double3x1 Rcp(Double3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double3x1)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double3x2 Rcp(Double3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double3x2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double3x3 Rcp(Double3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double3x3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double3x4 Rcp(Double3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double3x4)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double4x1 Rcp(Double4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double4x1)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double4x2 Rcp(Double4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double4x2)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double4x3 Rcp(Double4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double4x3)})"); + + /// + /// Calculates a fast, approximate, per-component reciprocal. + /// + /// The input value. + /// The reciprocal of the parameter. + [Pure] + [HlslIntrinsicName("rcp")] + public static Double4x4 Rcp(Double4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rcp)}({typeof(Double4x4)})"); + + /// + /// Reverses the order of the bits, per component. + /// + /// The input value. + /// The input value, with the bit order reversed. + [Pure] + [HlslIntrinsicName("reversebits")] + public static uint ReverseBits(uint x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(ReverseBits)}({typeof(uint)})"); + + /// + /// Reverses the order of the bits, per component. + /// + /// The input value. + /// The input value, with the bit order reversed. + [Pure] + [HlslIntrinsicName("reversebits")] + public static UInt2 ReverseBits(UInt2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(ReverseBits)}({typeof(UInt2)})"); + + /// + /// Reverses the order of the bits, per component. + /// + /// The input value. + /// The input value, with the bit order reversed. + [Pure] + [HlslIntrinsicName("reversebits")] + public static UInt3 ReverseBits(UInt3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(ReverseBits)}({typeof(UInt3)})"); + + /// + /// Reverses the order of the bits, per component. + /// + /// The input value. + /// The input value, with the bit order reversed. + [Pure] + [HlslIntrinsicName("reversebits")] + public static UInt4 ReverseBits(UInt4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(ReverseBits)}({typeof(UInt4)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static float Round(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(float)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float2 Round(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float2)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float3 Round(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float3)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float4 Round(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float4)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float1x1 Round(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float1x1)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float1x2 Round(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float1x2)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float1x3 Round(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float1x3)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float1x4 Round(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float1x4)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float2x1 Round(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float2x1)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float2x2 Round(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float2x2)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float2x3 Round(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float2x3)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float2x4 Round(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float2x4)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float3x1 Round(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float3x1)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float3x2 Round(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float3x2)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float3x3 Round(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float3x3)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float3x4 Round(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float3x4)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float4x1 Round(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float4x1)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float4x2 Round(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float4x2)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float4x3 Round(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float4x3)})"); + + /// + /// Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even. + /// + /// The specified value. + /// The parameter, rounded to the nearest integer within a floating-point type. + [Pure] + [HlslIntrinsicName("round")] + public static Float4x4 Round(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Round)}({typeof(Float4x4)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static float Rsqrt(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(float)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float2 Rsqrt(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float2)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float3 Rsqrt(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float3)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float4 Rsqrt(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float4)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float1x1 Rsqrt(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float1x1)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float1x2 Rsqrt(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float1x2)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float1x3 Rsqrt(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float1x3)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float1x4 Rsqrt(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float1x4)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float2x1 Rsqrt(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float2x1)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float2x2 Rsqrt(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float2x2)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float2x3 Rsqrt(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float2x3)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float2x4 Rsqrt(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float2x4)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float3x1 Rsqrt(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float3x1)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float3x2 Rsqrt(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float3x2)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float3x3 Rsqrt(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float3x3)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float3x4 Rsqrt(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float3x4)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float4x1 Rsqrt(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float4x1)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float4x2 Rsqrt(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float4x2)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float4x3 Rsqrt(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float4x3)})"); + + /// + /// Returns the reciprocal of the square root of the specified value. + /// + /// The specified value. + /// The reciprocal of the square root of the parameter. + [Pure] + [HlslIntrinsicName("rsqrt")] + public static Float4x4 Rsqrt(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Rsqrt)}({typeof(Float4x4)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static float Saturate(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(float)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float2 Saturate(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float2)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float3 Saturate(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float3)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float4 Saturate(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float4)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float1x1 Saturate(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float1x1)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float1x2 Saturate(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float1x2)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float1x3 Saturate(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float1x3)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float1x4 Saturate(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float1x4)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float2x1 Saturate(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float2x1)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float2x2 Saturate(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float2x2)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float2x3 Saturate(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float2x3)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float2x4 Saturate(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float2x4)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float3x1 Saturate(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float3x1)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float3x2 Saturate(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float3x2)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float3x3 Saturate(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float3x3)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float3x4 Saturate(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float3x4)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float4x1 Saturate(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float4x1)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float4x2 Saturate(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float4x2)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float4x3 Saturate(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float4x3)})"); + + /// + /// Clamps the specified value within the range of 0 to 1. + /// + /// The specified value. + /// The parameter, clamped within the range of 0 to 1. + [Pure] + [HlslIntrinsicName("saturate")] + public static Float4x4 Saturate(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Saturate)}({typeof(Float4x4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static int Sign(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(float)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2 Sign(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3 Sign(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4 Sign(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int1x1 Sign(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float1x1)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int1x2 Sign(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float1x2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int1x3 Sign(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float1x3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int1x4 Sign(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float1x4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2x1 Sign(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float2x1)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2x2 Sign(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float2x2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2x3 Sign(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float2x3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2x4 Sign(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float2x4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3x1 Sign(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float3x1)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3x2 Sign(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float3x2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3x3 Sign(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float3x3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3x4 Sign(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float3x4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4x1 Sign(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float4x1)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4x2 Sign(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float4x2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4x3 Sign(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float4x3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4x4 Sign(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Float4x4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static int Sign(int x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(int)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2 Sign(Int2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3 Sign(Int3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4 Sign(Int4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int1x1 Sign(Int1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int1x1)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int1x2 Sign(Int1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int1x2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int1x3 Sign(Int1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int1x3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int1x4 Sign(Int1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int1x4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2x1 Sign(Int2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int2x1)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2x2 Sign(Int2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int2x2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2x3 Sign(Int2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int2x3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int2x4 Sign(Int2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int2x4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3x1 Sign(Int3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int3x1)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3x2 Sign(Int3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int3x2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3x3 Sign(Int3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int3x3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int3x4 Sign(Int3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int3x4)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4x1 Sign(Int4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int4x1)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4x2 Sign(Int4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int4x2)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4x3 Sign(Int4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int4x3)})"); + + /// + /// Returns the sign of the input value. + /// + /// The specified value. + /// Returns -1 if is less than zero; 0 if equals zero; and 1 if is greater than zero. + [Pure] + [HlslIntrinsicName("sign")] + public static Int4x4 Sign(Int4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sign)}({typeof(Int4x4)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static float Sin(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(float)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float2 Sin(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float2)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float3 Sin(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float3)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float4 Sin(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float4)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float1x1 Sin(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float1x1)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float1x2 Sin(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float1x2)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float1x3 Sin(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float1x3)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float1x4 Sin(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float1x4)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float2x1 Sin(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float2x1)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float2x2 Sin(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float2x2)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float2x3 Sin(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float2x3)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float2x4 Sin(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float2x4)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float3x1 Sin(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float3x1)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float3x2 Sin(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float3x2)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float3x3 Sin(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float3x3)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float3x4 Sin(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float3x4)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float4x1 Sin(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float4x1)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float4x2 Sin(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float4x2)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float4x3 Sin(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float4x3)})"); + + /// + /// Returns the sine of the specified value. + /// + /// The specified value, in radians. + /// The sine of the parameter. + [Pure] + [HlslIntrinsicName("sin")] + public static Float4x4 Sin(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sin)}({typeof(Float4x4)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(float x, float sin, float cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(float)}, {typeof(float)}, {typeof(float)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float2 x, Float2 sin, Float2 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float2)}, {typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float3 x, Float3 sin, Float3 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float3)}, {typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float4 x, Float4 sin, Float4 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float4)}, {typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float1x1 x, Float1x1 sin, Float1x1 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float1x1)}, {typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float1x2 x, Float1x2 sin, Float1x2 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float1x2)}, {typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float1x3 x, Float1x3 sin, Float1x3 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float1x3)}, {typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float1x4 x, Float1x4 sin, Float1x4 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float1x4)}, {typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float2x1 x, Float2x1 sin, Float2x1 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float2x1)}, {typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float2x2 x, Float2x2 sin, Float2x2 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float2x2)}, {typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float2x3 x, Float2x3 sin, Float2x3 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float2x3)}, {typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float2x4 x, Float2x4 sin, Float2x4 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float2x4)}, {typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float3x1 x, Float3x1 sin, Float3x1 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float3x1)}, {typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float3x2 x, Float3x2 sin, Float3x2 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float3x2)}, {typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float3x3 x, Float3x3 sin, Float3x3 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float3x3)}, {typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float3x4 x, Float3x4 sin, Float3x4 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float3x4)}, {typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float4x1 x, Float4x1 sin, Float4x1 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float4x1)}, {typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float4x2 x, Float4x2 sin, Float4x2 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float4x2)}, {typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float4x3 x, Float4x3 sin, Float4x3 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float4x3)}, {typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Returns the sine and cosine of a specified value. + /// + /// The specified value, in radians. + /// The resulting sine. + /// The resulting cosine. + /// + [Pure] + [HlslIntrinsicName("sincos")] + public static void SinCos(Float4x4 x, Float4x4 sin, Float4x4 cos) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SinCos)}({typeof(Float4x4)}, {typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static float Sinh(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(float)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float2 Sinh(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float2)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float3 Sinh(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float3)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float4 Sinh(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float4)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float1x1 Sinh(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float1x1)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float1x2 Sinh(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float1x2)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float1x3 Sinh(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float1x3)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float1x4 Sinh(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float1x4)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float2x1 Sinh(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float2x1)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float2x2 Sinh(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float2x2)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float2x3 Sinh(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float2x3)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float2x4 Sinh(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float2x4)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float3x1 Sinh(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float3x1)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float3x2 Sinh(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float3x2)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float3x3 Sinh(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float3x3)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float3x4 Sinh(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float3x4)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float4x1 Sinh(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float4x1)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float4x2 Sinh(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float4x2)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float4x3 Sinh(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float4x3)})"); + + /// + /// Returns the hyperbolic sine of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic sine of the parameter. + [Pure] + [HlslIntrinsicName("sinh")] + public static Float4x4 Sinh(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sinh)}({typeof(Float4x4)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static float SmoothStep(float min, float max, float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(float)}, {typeof(float)}, {typeof(float)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float2 SmoothStep(Float2 min, Float2 max, Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float2)}, {typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float3 SmoothStep(Float3 min, Float3 max, Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float3)}, {typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float4 SmoothStep(Float4 min, Float4 max, Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float4)}, {typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float1x1 SmoothStep(Float1x1 min, Float1x1 max, Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float1x1)}, {typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float1x2 SmoothStep(Float1x2 min, Float1x2 max, Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float1x2)}, {typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float1x3 SmoothStep(Float1x3 min, Float1x3 max, Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float1x3)}, {typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float1x4 SmoothStep(Float1x4 min, Float1x4 max, Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float1x4)}, {typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float2x1 SmoothStep(Float2x1 min, Float2x1 max, Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float2x1)}, {typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float2x2 SmoothStep(Float2x2 min, Float2x2 max, Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float2x2)}, {typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float2x3 SmoothStep(Float2x3 min, Float2x3 max, Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float2x3)}, {typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float2x4 SmoothStep(Float2x4 min, Float2x4 max, Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float2x4)}, {typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float3x1 SmoothStep(Float3x1 min, Float3x1 max, Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float3x1)}, {typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float3x2 SmoothStep(Float3x2 min, Float3x2 max, Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float3x2)}, {typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float3x3 SmoothStep(Float3x3 min, Float3x3 max, Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float3x3)}, {typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float3x4 SmoothStep(Float3x4 min, Float3x4 max, Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float3x4)}, {typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float4x1 SmoothStep(Float4x1 min, Float4x1 max, Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float4x1)}, {typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float4x2 SmoothStep(Float4x2 min, Float4x2 max, Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float4x2)}, {typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float4x3 SmoothStep(Float4x3 min, Float4x3 max, Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float4x3)}, {typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range. + /// + /// The specified minimum range. + /// The specified maximum range. + /// The specified value to be interpolated. + /// Returns 0 if is less than ; 1 if is greater than ; otherwise, a value between 0 and 1 if is in the range [, ]. + [Pure] + [HlslIntrinsicName("smoothstep")] + public static Float4x4 SmoothStep(Float4x4 min, Float4x4 max, Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(SmoothStep)}({typeof(Float4x4)}, {typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static float Sqrt(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(float)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float2 Sqrt(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float2)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float3 Sqrt(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float3)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float4 Sqrt(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float4)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float1x1 Sqrt(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float1x1)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float1x2 Sqrt(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float1x2)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float1x3 Sqrt(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float1x3)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float1x4 Sqrt(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float1x4)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float2x1 Sqrt(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float2x1)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float2x2 Sqrt(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float2x2)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float2x3 Sqrt(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float2x3)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float2x4 Sqrt(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float2x4)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float3x1 Sqrt(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float3x1)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float3x2 Sqrt(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float3x2)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float3x3 Sqrt(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float3x3)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float3x4 Sqrt(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float3x4)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float4x1 Sqrt(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float4x1)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float4x2 Sqrt(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float4x2)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float4x3 Sqrt(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float4x3)})"); + + /// + /// Returns the square root of the specified floating-point value, per component. + /// + /// The specified floating-point value. + /// The square root of the parameter, per component. + [Pure] + [HlslIntrinsicName("sqrt")] + public static Float4x4 Sqrt(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Sqrt)}({typeof(Float4x4)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static float Step(float y, float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(float)}, {typeof(float)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float2 Step(Float2 y, Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float2)}, {typeof(Float2)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float3 Step(Float3 y, Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float3)}, {typeof(Float3)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float4 Step(Float4 y, Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float4)}, {typeof(Float4)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float1x1 Step(Float1x1 y, Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float1x1)}, {typeof(Float1x1)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float1x2 Step(Float1x2 y, Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float1x2)}, {typeof(Float1x2)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float1x3 Step(Float1x3 y, Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float1x3)}, {typeof(Float1x3)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float1x4 Step(Float1x4 y, Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float1x4)}, {typeof(Float1x4)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float2x1 Step(Float2x1 y, Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float2x1)}, {typeof(Float2x1)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float2x2 Step(Float2x2 y, Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float2x2)}, {typeof(Float2x2)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float2x3 Step(Float2x3 y, Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float2x3)}, {typeof(Float2x3)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float2x4 Step(Float2x4 y, Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float2x4)}, {typeof(Float2x4)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float3x1 Step(Float3x1 y, Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float3x1)}, {typeof(Float3x1)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float3x2 Step(Float3x2 y, Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float3x2)}, {typeof(Float3x2)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float3x3 Step(Float3x3 y, Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float3x3)}, {typeof(Float3x3)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float3x4 Step(Float3x4 y, Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float3x4)}, {typeof(Float3x4)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float4x1 Step(Float4x1 y, Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float4x1)}, {typeof(Float4x1)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float4x2 Step(Float4x2 y, Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float4x2)}, {typeof(Float4x2)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float4x3 Step(Float4x3 y, Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float4x3)}, {typeof(Float4x3)})"); + + /// + /// Compares two values, returning 0 or 1 based on which value is greater. + /// + /// The first specified floating-point value. + /// The second specified floating-point value. + /// 1 if the parameter is greater than or equal to the parameter; otherwise, 0. + [Pure] + [HlslIntrinsicName("step")] + public static Float4x4 Step(Float4x4 y, Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Step)}({typeof(Float4x4)}, {typeof(Float4x4)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static float Tan(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(float)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float2 Tan(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float2)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float3 Tan(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float3)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float4 Tan(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float4)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float1x1 Tan(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float1x1)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float1x2 Tan(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float1x2)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float1x3 Tan(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float1x3)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float1x4 Tan(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float1x4)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float2x1 Tan(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float2x1)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float2x2 Tan(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float2x2)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float2x3 Tan(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float2x3)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float2x4 Tan(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float2x4)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float3x1 Tan(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float3x1)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float3x2 Tan(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float3x2)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float3x3 Tan(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float3x3)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float3x4 Tan(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float3x4)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float4x1 Tan(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float4x1)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float4x2 Tan(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float4x2)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float4x3 Tan(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float4x3)})"); + + /// + /// Returns the tangent of the specified value. + /// + /// The specified value, in radians. + /// The tangent of the parameter. + [Pure] + [HlslIntrinsicName("tan")] + public static Float4x4 Tan(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tan)}({typeof(Float4x4)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static float Tanh(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(float)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float2 Tanh(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float2)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float3 Tanh(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float3)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float4 Tanh(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float4)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float1x1 Tanh(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float1x1)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float1x2 Tanh(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float1x2)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float1x3 Tanh(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float1x3)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float1x4 Tanh(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float1x4)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float2x1 Tanh(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float2x1)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float2x2 Tanh(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float2x2)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float2x3 Tanh(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float2x3)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float2x4 Tanh(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float2x4)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float3x1 Tanh(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float3x1)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float3x2 Tanh(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float3x2)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float3x3 Tanh(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float3x3)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float3x4 Tanh(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float3x4)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float4x1 Tanh(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float4x1)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float4x2 Tanh(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float4x2)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float4x3 Tanh(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float4x3)})"); + + /// + /// Returns the hyperbolic tangent of the specified value. + /// + /// The specified value, in radians. + /// The hyperbolic tangent of the parameter. + [Pure] + [HlslIntrinsicName("tanh")] + public static Float4x4 Tanh(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Tanh)}({typeof(Float4x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float2x1 Transpose(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float1x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float3x1 Transpose(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float1x3)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float4x1 Transpose(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float1x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float1x2 Transpose(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float2x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float3x2 Transpose(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float2x3)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float4x2 Transpose(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float2x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float1x3 Transpose(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float3x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float2x3 Transpose(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float3x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float4x3 Transpose(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float3x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float1x4 Transpose(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float4x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float2x4 Transpose(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float4x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Float3x4 Transpose(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Float4x3)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int2x1 Transpose(Int1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int1x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int3x1 Transpose(Int1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int1x3)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int4x1 Transpose(Int1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int1x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int1x2 Transpose(Int2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int2x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int3x2 Transpose(Int2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int2x3)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int4x2 Transpose(Int2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int2x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int1x3 Transpose(Int3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int3x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int2x3 Transpose(Int3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int3x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int4x3 Transpose(Int3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int3x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int1x4 Transpose(Int4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int4x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int2x4 Transpose(Int4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int4x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Int3x4 Transpose(Int4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Int4x3)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool2x1 Transpose(Bool1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool1x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool3x1 Transpose(Bool1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool1x3)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool4x1 Transpose(Bool1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool1x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool1x2 Transpose(Bool2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool2x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool3x2 Transpose(Bool2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool2x3)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool4x2 Transpose(Bool2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool2x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool1x3 Transpose(Bool3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool3x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool2x3 Transpose(Bool3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool3x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool4x3 Transpose(Bool3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool3x4)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool1x4 Transpose(Bool4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool4x1)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool2x4 Transpose(Bool4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool4x2)})"); + + /// + /// Transposes the specified input matrix. + /// + /// The specified matrix. + /// The transposed value of the parameter. + [Pure] + [HlslIntrinsicName("transpose")] + public static Bool3x4 Transpose(Bool4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Transpose)}({typeof(Bool4x3)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static float Trunc(float x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(float)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float2 Trunc(Float2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float2)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float3 Trunc(Float3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float3)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float4 Trunc(Float4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float4)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float1x1 Trunc(Float1x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float1x1)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float1x2 Trunc(Float1x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float1x2)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float1x3 Trunc(Float1x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float1x3)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float1x4 Trunc(Float1x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float1x4)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float2x1 Trunc(Float2x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float2x1)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float2x2 Trunc(Float2x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float2x2)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float2x3 Trunc(Float2x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float2x3)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float2x4 Trunc(Float2x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float2x4)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float3x1 Trunc(Float3x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float3x1)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float3x2 Trunc(Float3x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float3x2)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float3x3 Trunc(Float3x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float3x3)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float3x4 Trunc(Float3x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float3x4)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float4x1 Trunc(Float4x1 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float4x1)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float4x2 Trunc(Float4x2 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float4x2)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float4x3 Trunc(Float4x3 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float4x3)})"); + + /// + /// Truncates a floating-point value to the integer component. + /// + /// The specified input. + /// The input value truncated to an integer component. + [Pure] + [HlslIntrinsicName("trunc")] + public static Float4x4 Trunc(Float4x4 x) => throw new InvalidExecutionContextException($"{typeof(Hlsl)}.{nameof(Trunc)}({typeof(Float4x4)})"); + + } +} diff --git a/src/ComputeSharp/Core/Intrinsics/Hlsl.tt b/src/ComputeSharp/Core/Intrinsics/Hlsl.tt new file mode 100644 index 00000000..cc5da368 --- /dev/null +++ b/src/ComputeSharp/Core/Intrinsics/Hlsl.tt @@ -0,0 +1,2636 @@ +<#@ template debug="false" hostspecific="false" language="C#" #> +<#@ assembly name="System.Core" #> +<#@ import namespace="System.Linq" #> +<#@ import namespace="System.Text" #> +<#@ import namespace="System.Text.RegularExpressions" #> +<#@ import namespace="System.Collections.Generic" #> +<#@ output extension=".g.cs"#> +<# +var intrinsics = new[] +{ + new + { + Name = "Abs", + HlslName = "abs", + Summary = "Returns the absolute value of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The absolute value of the {x} parameter.", + Overloads = new[] + { + new { Return = "int", Params = new[] { "int" } }, + new { Return = "Int2", Params = new[] { "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x4" } }, + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Acos", + HlslName = "acos", + Summary = "Returns the arccosine of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value. Each component should be a floating-point within the range [-1, 1]." } + }, + Returns = "The arccosine of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "All", + HlslName = "all", + Summary = "Determines if all components of the specified value are non-zero.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "Whether or not all components of the {x} parameter are non-zero.", + Overloads = new[] + { + new { Return = "bool", Params = new[] { "int" } }, + new { Return = "bool", Params = new[] { "Int2" } }, + new { Return = "bool", Params = new[] { "Int3" } }, + new { Return = "bool", Params = new[] { "Int4" } }, + new { Return = "bool", Params = new[] { "Int1x1" } }, + new { Return = "bool", Params = new[] { "Int1x2" } }, + new { Return = "bool", Params = new[] { "Int1x3" } }, + new { Return = "bool", Params = new[] { "Int1x4" } }, + new { Return = "bool", Params = new[] { "Int2x1" } }, + new { Return = "bool", Params = new[] { "Int2x2" } }, + new { Return = "bool", Params = new[] { "Int2x3" } }, + new { Return = "bool", Params = new[] { "Int2x4" } }, + new { Return = "bool", Params = new[] { "Int3x1" } }, + new { Return = "bool", Params = new[] { "Int3x2" } }, + new { Return = "bool", Params = new[] { "Int3x3" } }, + new { Return = "bool", Params = new[] { "Int3x4" } }, + new { Return = "bool", Params = new[] { "Int4x1" } }, + new { Return = "bool", Params = new[] { "Int4x2" } }, + new { Return = "bool", Params = new[] { "Int4x3" } }, + new { Return = "bool", Params = new[] { "Int4x4" } }, + new { Return = "bool", Params = new[] { "float" } }, + new { Return = "bool", Params = new[] { "Float2" } }, + new { Return = "bool", Params = new[] { "Float3" } }, + new { Return = "bool", Params = new[] { "Float4" } }, + new { Return = "bool", Params = new[] { "Float1x1" } }, + new { Return = "bool", Params = new[] { "Float1x2" } }, + new { Return = "bool", Params = new[] { "Float1x3" } }, + new { Return = "bool", Params = new[] { "Float1x4" } }, + new { Return = "bool", Params = new[] { "Float2x1" } }, + new { Return = "bool", Params = new[] { "Float2x2" } }, + new { Return = "bool", Params = new[] { "Float2x3" } }, + new { Return = "bool", Params = new[] { "Float2x4" } }, + new { Return = "bool", Params = new[] { "Float3x1" } }, + new { Return = "bool", Params = new[] { "Float3x2" } }, + new { Return = "bool", Params = new[] { "Float3x3" } }, + new { Return = "bool", Params = new[] { "Float3x4" } }, + new { Return = "bool", Params = new[] { "Float4x1" } }, + new { Return = "bool", Params = new[] { "Float4x2" } }, + new { Return = "bool", Params = new[] { "Float4x3" } }, + new { Return = "bool", Params = new[] { "Float4x4" } }, + new { Return = "bool", Params = new[] { "bool" } }, + new { Return = "bool", Params = new[] { "Bool2" } }, + new { Return = "bool", Params = new[] { "Bool3" } }, + new { Return = "bool", Params = new[] { "Bool4" } }, + new { Return = "bool", Params = new[] { "Bool1x1" } }, + new { Return = "bool", Params = new[] { "Bool1x2" } }, + new { Return = "bool", Params = new[] { "Bool1x3" } }, + new { Return = "bool", Params = new[] { "Bool1x4" } }, + new { Return = "bool", Params = new[] { "Bool2x1" } }, + new { Return = "bool", Params = new[] { "Bool2x2" } }, + new { Return = "bool", Params = new[] { "Bool2x3" } }, + new { Return = "bool", Params = new[] { "Bool2x4" } }, + new { Return = "bool", Params = new[] { "Bool3x1" } }, + new { Return = "bool", Params = new[] { "Bool3x2" } }, + new { Return = "bool", Params = new[] { "Bool3x3" } }, + new { Return = "bool", Params = new[] { "Bool3x4" } }, + new { Return = "bool", Params = new[] { "Bool4x1" } }, + new { Return = "bool", Params = new[] { "Bool4x2" } }, + new { Return = "bool", Params = new[] { "Bool4x3" } }, + new { Return = "bool", Params = new[] { "Bool4x4" } } + }, + IsPure = true + }, + new + { + Name = "Any", + HlslName = "any", + Summary = "Determines if any components of the specified value are non-zero.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "Whether or not any components of the {x} parameter are non-zero.", + Overloads = new[] + { + new { Return = "bool", Params = new[] { "int" } }, + new { Return = "bool", Params = new[] { "Int2" } }, + new { Return = "bool", Params = new[] { "Int3" } }, + new { Return = "bool", Params = new[] { "Int4" } }, + new { Return = "bool", Params = new[] { "Int1x1" } }, + new { Return = "bool", Params = new[] { "Int1x2" } }, + new { Return = "bool", Params = new[] { "Int1x3" } }, + new { Return = "bool", Params = new[] { "Int1x4" } }, + new { Return = "bool", Params = new[] { "Int2x1" } }, + new { Return = "bool", Params = new[] { "Int2x2" } }, + new { Return = "bool", Params = new[] { "Int2x3" } }, + new { Return = "bool", Params = new[] { "Int2x4" } }, + new { Return = "bool", Params = new[] { "Int3x1" } }, + new { Return = "bool", Params = new[] { "Int3x2" } }, + new { Return = "bool", Params = new[] { "Int3x3" } }, + new { Return = "bool", Params = new[] { "Int3x4" } }, + new { Return = "bool", Params = new[] { "Int4x1" } }, + new { Return = "bool", Params = new[] { "Int4x2" } }, + new { Return = "bool", Params = new[] { "Int4x3" } }, + new { Return = "bool", Params = new[] { "Int4x4" } }, + new { Return = "bool", Params = new[] { "float" } }, + new { Return = "bool", Params = new[] { "Float2" } }, + new { Return = "bool", Params = new[] { "Float3" } }, + new { Return = "bool", Params = new[] { "Float4" } }, + new { Return = "bool", Params = new[] { "Float1x1" } }, + new { Return = "bool", Params = new[] { "Float1x2" } }, + new { Return = "bool", Params = new[] { "Float1x3" } }, + new { Return = "bool", Params = new[] { "Float1x4" } }, + new { Return = "bool", Params = new[] { "Float2x1" } }, + new { Return = "bool", Params = new[] { "Float2x2" } }, + new { Return = "bool", Params = new[] { "Float2x3" } }, + new { Return = "bool", Params = new[] { "Float2x4" } }, + new { Return = "bool", Params = new[] { "Float3x1" } }, + new { Return = "bool", Params = new[] { "Float3x2" } }, + new { Return = "bool", Params = new[] { "Float3x3" } }, + new { Return = "bool", Params = new[] { "Float3x4" } }, + new { Return = "bool", Params = new[] { "Float4x1" } }, + new { Return = "bool", Params = new[] { "Float4x2" } }, + new { Return = "bool", Params = new[] { "Float4x3" } }, + new { Return = "bool", Params = new[] { "Float4x4" } }, + new { Return = "bool", Params = new[] { "bool" } }, + new { Return = "bool", Params = new[] { "Bool2" } }, + new { Return = "bool", Params = new[] { "Bool3" } }, + new { Return = "bool", Params = new[] { "Bool4" } }, + new { Return = "bool", Params = new[] { "Bool1x1" } }, + new { Return = "bool", Params = new[] { "Bool1x2" } }, + new { Return = "bool", Params = new[] { "Bool1x3" } }, + new { Return = "bool", Params = new[] { "Bool1x4" } }, + new { Return = "bool", Params = new[] { "Bool2x1" } }, + new { Return = "bool", Params = new[] { "Bool2x2" } }, + new { Return = "bool", Params = new[] { "Bool2x3" } }, + new { Return = "bool", Params = new[] { "Bool2x4" } }, + new { Return = "bool", Params = new[] { "Bool3x1" } }, + new { Return = "bool", Params = new[] { "Bool3x2" } }, + new { Return = "bool", Params = new[] { "Bool3x3" } }, + new { Return = "bool", Params = new[] { "Bool3x4" } }, + new { Return = "bool", Params = new[] { "Bool4x1" } }, + new { Return = "bool", Params = new[] { "Bool4x2" } }, + new { Return = "bool", Params = new[] { "Bool4x3" } }, + new { Return = "bool", Params = new[] { "Bool4x4" } } + }, + IsPure = true + }, + new + { + Name = "AsDouble", + HlslName = "asdouble", + Summary = "Reinterprets a cast value (two 32-bit values) into a double precision floating-point value.", + Parameters = new[] + { + new { Name = "lowbits", Info = "The low 32-bit pattern of the input value." }, + new { Name = "highbits", Info = "The high 32-bit pattern of the input value." } + }, + Returns = "The input (two 32-bit values) recast as a double precision floating-point number.", + Overloads = new[] + { + new { Return = "double", Params = new[] { "uint", "uint" } }, + new { Return = "Double2", Params = new[] { "UInt2", "UInt2" } } + }, + IsPure = true + }, + new + { + Name = "AsFloat", + HlslName = "asfloat", + Summary = "Interprets the bit pattern of an input value as a floating-point number.", + Parameters = new[] + { + new { Name = "x", Info = "The input value." } + }, + Returns = "The input interpreted as a floating-point number.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "int" } }, + new { Return = "Float2", Params = new[] { "Int2" } }, + new { Return = "Float3", Params = new[] { "Int3" } }, + new { Return = "Float4", Params = new[] { "Int4" } }, + new { Return = "Float1x1", Params = new[] { "Int1x1" } }, + new { Return = "Float1x2", Params = new[] { "Int1x2" } }, + new { Return = "Float1x3", Params = new[] { "Int1x3" } }, + new { Return = "Float1x4", Params = new[] { "Int1x4" } }, + new { Return = "Float2x1", Params = new[] { "Int2x1" } }, + new { Return = "Float2x2", Params = new[] { "Int2x2" } }, + new { Return = "Float2x3", Params = new[] { "Int2x3" } }, + new { Return = "Float2x4", Params = new[] { "Int2x4" } }, + new { Return = "Float3x1", Params = new[] { "Int3x1" } }, + new { Return = "Float3x2", Params = new[] { "Int3x2" } }, + new { Return = "Float3x3", Params = new[] { "Int3x3" } }, + new { Return = "Float3x4", Params = new[] { "Int3x4" } }, + new { Return = "Float4x1", Params = new[] { "Int4x1" } }, + new { Return = "Float4x2", Params = new[] { "Int4x2" } }, + new { Return = "Float4x3", Params = new[] { "Int4x3" } }, + new { Return = "Float4x4", Params = new[] { "Int4x4" } }, + new { Return = "float", Params = new[] { "uint" } }, + new { Return = "Float2", Params = new[] { "UInt2" } }, + new { Return = "Float3", Params = new[] { "UInt3" } }, + new { Return = "Float4", Params = new[] { "UInt4" } }, + new { Return = "Float1x1", Params = new[] { "UInt1x1" } }, + new { Return = "Float1x2", Params = new[] { "UInt1x2" } }, + new { Return = "Float1x3", Params = new[] { "UInt1x3" } }, + new { Return = "Float1x4", Params = new[] { "UInt1x4" } }, + new { Return = "Float2x1", Params = new[] { "UInt2x1" } }, + new { Return = "Float2x2", Params = new[] { "UInt2x2" } }, + new { Return = "Float2x3", Params = new[] { "UInt2x3" } }, + new { Return = "Float2x4", Params = new[] { "UInt2x4" } }, + new { Return = "Float3x1", Params = new[] { "UInt3x1" } }, + new { Return = "Float3x2", Params = new[] { "UInt3x2" } }, + new { Return = "Float3x3", Params = new[] { "UInt3x3" } }, + new { Return = "Float3x4", Params = new[] { "UInt3x4" } }, + new { Return = "Float4x1", Params = new[] { "UInt4x1" } }, + new { Return = "Float4x2", Params = new[] { "UInt4x2" } }, + new { Return = "Float4x3", Params = new[] { "UInt4x3" } }, + new { Return = "Float4x4", Params = new[] { "UInt4x4" } } + }, + IsPure = true + }, + new + { + Name = "Asin", + HlslName = "asin", + Summary = "Returns the arcsine of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The arcsine of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "AsInt", + HlslName = "asint", + Summary = "Interprets the bit pattern of an input value as an integer number.", + Parameters = new[] + { + new { Name = "x", Info = "The input value." } + }, + Returns = "The input interpreted as an integer number.", + Overloads = new[] + { + new { Return = "int", Params = new[] { "float" } }, + new { Return = "Int2", Params = new[] { "Float2" } }, + new { Return = "Int3", Params = new[] { "Float3" } }, + new { Return = "Int4", Params = new[] { "Float4" } }, + new { Return = "Int1x1", Params = new[] { "Float1x1" } }, + new { Return = "Int1x2", Params = new[] { "Float1x2" } }, + new { Return = "Int1x3", Params = new[] { "Float1x3" } }, + new { Return = "Int1x4", Params = new[] { "Float1x4" } }, + new { Return = "Int2x1", Params = new[] { "Float2x1" } }, + new { Return = "Int2x2", Params = new[] { "Float2x2" } }, + new { Return = "Int2x3", Params = new[] { "Float2x3" } }, + new { Return = "Int2x4", Params = new[] { "Float2x4" } }, + new { Return = "Int3x1", Params = new[] { "Float3x1" } }, + new { Return = "Int3x2", Params = new[] { "Float3x2" } }, + new { Return = "Int3x3", Params = new[] { "Float3x3" } }, + new { Return = "Int3x4", Params = new[] { "Float3x4" } }, + new { Return = "Int4x1", Params = new[] { "Float4x1" } }, + new { Return = "Int4x2", Params = new[] { "Float4x2" } }, + new { Return = "Int4x3", Params = new[] { "Float4x3" } }, + new { Return = "Int4x4", Params = new[] { "Float4x4" } }, + new { Return = "int", Params = new[] { "uint" } }, + new { Return = "Int2", Params = new[] { "UInt2" } }, + new { Return = "Int3", Params = new[] { "UInt3" } }, + new { Return = "Int4", Params = new[] { "UInt4" } }, + new { Return = "Int1x1", Params = new[] { "UInt1x1" } }, + new { Return = "Int1x2", Params = new[] { "UInt1x2" } }, + new { Return = "Int1x3", Params = new[] { "UInt1x3" } }, + new { Return = "Int1x4", Params = new[] { "UInt1x4" } }, + new { Return = "Int2x1", Params = new[] { "UInt2x1" } }, + new { Return = "Int2x2", Params = new[] { "UInt2x2" } }, + new { Return = "Int2x3", Params = new[] { "UInt2x3" } }, + new { Return = "Int2x4", Params = new[] { "UInt2x4" } }, + new { Return = "Int3x1", Params = new[] { "UInt3x1" } }, + new { Return = "Int3x2", Params = new[] { "UInt3x2" } }, + new { Return = "Int3x3", Params = new[] { "UInt3x3" } }, + new { Return = "Int3x4", Params = new[] { "UInt3x4" } }, + new { Return = "Int4x1", Params = new[] { "UInt4x1" } }, + new { Return = "Int4x2", Params = new[] { "UInt4x2" } }, + new { Return = "Int4x3", Params = new[] { "UInt4x3" } }, + new { Return = "Int4x4", Params = new[] { "UInt4x4" } } + }, + IsPure = true + }, + new + { + Name = "AsUInt", + HlslName = "asuint", + Summary = "Interprets the bit pattern of an input value as an unsigned integer number.", + Parameters = new[] + { + new { Name = "x", Info = "The input value." } + }, + Returns = "The input interpreted as an unsigned integer number.", + Overloads = new[] + { + new { Return = "uint", Params = new[] { "float" } }, + new { Return = "UInt2", Params = new[] { "Float2" } }, + new { Return = "UInt3", Params = new[] { "Float3" } }, + new { Return = "UInt4", Params = new[] { "Float4" } }, + new { Return = "UInt1x1", Params = new[] { "Float1x1" } }, + new { Return = "UInt1x2", Params = new[] { "Float1x2" } }, + new { Return = "UInt1x3", Params = new[] { "Float1x3" } }, + new { Return = "UInt1x4", Params = new[] { "Float1x4" } }, + new { Return = "UInt2x1", Params = new[] { "Float2x1" } }, + new { Return = "UInt2x2", Params = new[] { "Float2x2" } }, + new { Return = "UInt2x3", Params = new[] { "Float2x3" } }, + new { Return = "UInt2x4", Params = new[] { "Float2x4" } }, + new { Return = "UInt3x1", Params = new[] { "Float3x1" } }, + new { Return = "UInt3x2", Params = new[] { "Float3x2" } }, + new { Return = "UInt3x3", Params = new[] { "Float3x3" } }, + new { Return = "UInt3x4", Params = new[] { "Float3x4" } }, + new { Return = "UInt4x1", Params = new[] { "Float4x1" } }, + new { Return = "UInt4x2", Params = new[] { "Float4x2" } }, + new { Return = "UInt4x3", Params = new[] { "Float4x3" } }, + new { Return = "UInt4x4", Params = new[] { "Float4x4" } }, + new { Return = "uint", Params = new[] { "int" } }, + new { Return = "UInt2", Params = new[] { "Int2" } }, + new { Return = "UInt3", Params = new[] { "Int3" } }, + new { Return = "UInt4", Params = new[] { "Int4" } }, + new { Return = "UInt1x1", Params = new[] { "Int1x1" } }, + new { Return = "UInt1x2", Params = new[] { "Int1x2" } }, + new { Return = "UInt1x3", Params = new[] { "Int1x3" } }, + new { Return = "UInt1x4", Params = new[] { "Int1x4" } }, + new { Return = "UInt2x1", Params = new[] { "Int2x1" } }, + new { Return = "UInt2x2", Params = new[] { "Int2x2" } }, + new { Return = "UInt2x3", Params = new[] { "Int2x3" } }, + new { Return = "UInt2x4", Params = new[] { "Int2x4" } }, + new { Return = "UInt3x1", Params = new[] { "Int3x1" } }, + new { Return = "UInt3x2", Params = new[] { "Int3x2" } }, + new { Return = "UInt3x3", Params = new[] { "Int3x3" } }, + new { Return = "UInt3x4", Params = new[] { "Int3x4" } }, + new { Return = "UInt4x1", Params = new[] { "Int4x1" } }, + new { Return = "UInt4x2", Params = new[] { "Int4x2" } }, + new { Return = "UInt4x3", Params = new[] { "Int4x3" } }, + new { Return = "UInt4x4", Params = new[] { "Int4x4" } } + }, + IsPure = true + }, + new + { + Name = "Atan", + HlslName = "atan", + Summary = "Returns the arctangent of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The arctangent of the {x} parameter. This value is within the range [-π/2, π/2].", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Atan2", + HlslName = "atan2", + Summary = "Returns the arctangent of two values (y, x).", + Parameters = new[] + { + new { Name = "y", Info = "The y value." }, + new { Name = "x", Info = "The x value." } + }, + Returns = "The arctangent of ({y}, {x}).", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Ceil", + HlslName = "ceil", + Summary = "Returns the smallest integer value that is greater than or equal to the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The smallest integer value (returned as a floating-point type) that is greater than or equal to the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Clamp", + HlslName = "clamp", + Summary = "Clamps the specified value to the specified minimum and maximum range.", + Parameters = new[] + { + new { Name = "x", Info = "The value to clamp." }, + new { Name = "min", Info = "The specified minimum range." }, + new { Name = "max", Info = "The specified maximum range." } + }, + Returns = "The clamped value for the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4", "Float4x4" } }, + new { Return = "int", Params = new[] { "int", "int", "int" } }, + new { Return = "Int2", Params = new[] { "Int2", "Int2", "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3", "Int3", "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4", "Int4", "Int4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x1", "Int1x1", "Int1x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x2", "Int1x2", "Int1x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x3", "Int1x3", "Int1x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x4", "Int1x4", "Int1x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x1", "Int2x1", "Int2x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x2", "Int2x2", "Int2x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x3", "Int2x3", "Int2x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x4", "Int2x4", "Int2x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x1", "Int3x1", "Int3x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x2", "Int3x2", "Int3x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x3", "Int3x3", "Int3x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x4", "Int3x4", "Int3x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x1", "Int4x1", "Int4x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x2", "Int4x2", "Int4x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x3", "Int4x3", "Int4x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x4", "Int4x4", "Int4x4" } } + }, + IsPure = true + }, + new + { + Name = "Cos", + HlslName = "cos", + Summary = "Returns the cosine of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value, in radians." } + }, + Returns = "The cosine of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Cosh", + HlslName = "cosh", + Summary = "Returns the hyperbolic cosine of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value, in radians." } + }, + Returns = "The hyperbolic cosine of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "CountBits", + HlslName = "countbits", + Summary = "Counts the number of bits (per component) in the input integer.", + Parameters = new[] + { + new { Name = "x", Info = "The input value." } + }, + Returns = "The number of bits.", + Overloads = new[] + { + new { Return = "uint", Params = new[] { "uint" } }, + new { Return = "UInt2", Params = new[] { "UInt2" } }, + new { Return = "UInt3", Params = new[] { "UInt3" } }, + new { Return = "UInt4", Params = new[] { "UInt4" } } + }, + IsPure = true + }, + new + { + Name = "Degrees", + HlslName = "degrees", + Summary = "Converts the specified value from radians to degrees.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The result of converting the {x} parameter from radians to degrees.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Determinant", + HlslName = "determinant", + Summary = "Returns the determinant of the specified floating-point, square matrix.", + Parameters = new[] + { + new { Name = "m", Info = "The specified value." } + }, + Returns = "The floating-point, scalar value that represents the determinant of the {m} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "Float1x1" } }, + new { Return = "float", Params = new[] { "Float2x2" } }, + new { Return = "float", Params = new[] { "Float3x3" } }, + new { Return = "float", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Distance", + HlslName = "distance", + Summary = "Returns a distance scalar between two vectors.", + Parameters = new[] + { + new { Name = "x", Info = "The first floating-point vector to compare." }, + new { Name = "y", Info = "The second floating-point vector to compare." } + }, + Returns = "A floating-point, scalar value that represents the distance between the {x} parameter and the {y} parameter.", + Overloads = new[] + { + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } } + }, + IsPure = true + }, + new + { + Name = "Dot", + HlslName = "dot", + Summary = "Returns the dot product of two vectors.", + Parameters = new[] + { + new { Name = "x", Info = "The first vector." }, + new { Name = "y", Info = "The second vector." } + }, + Returns = "The dot product of the {x} parameter and the {y} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "Float2", "Float2" } }, + new { Return = "float", Params = new[] { "Float3", "Float3" } }, + new { Return = "float", Params = new[] { "Float4", "Float4" } }, + new { Return = "float", Params = new[] { "Int2", "Int2" } }, + new { Return = "float", Params = new[] { "Int3", "Int3" } }, + new { Return = "float", Params = new[] { "Int4", "Int4" } } + }, + IsPure = true + }, + new + { + Name = "Exp", + HlslName = "exp", + Summary = "Returns the base-e exponential of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The base-e exponential of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Exp2", + HlslName = "exp2", + Summary = "Returns the base-2 exponential of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The base-2 exponential of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "FirstBitHigh", + HlslName = "firstbithigh", + Summary = "Gets the location of the first set bit starting from the highest order bit and working downward, per component.", + Parameters = new[] + { + new { Name = "value", Info = "The input value." } + }, + Returns = "The location of the first set bit.", + Overloads = new[] + { + new { Return = "int", Params = new[] { "int" } }, + new { Return = "Int2", Params = new[] { "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4" } }, + new { Return = "uint", Params = new[] { "uint" } }, + new { Return = "UInt2", Params = new[] { "UInt2" } }, + new { Return = "UInt3", Params = new[] { "UInt3" } }, + new { Return = "UInt4", Params = new[] { "UInt4" } } + }, + IsPure = true + }, + new + { + Name = "FirstBitLow", + HlslName = "firstbitlow", + Summary = "Returns the location of the first set bit starting from the lowest order bit and working upward, per component.", + Parameters = new[] + { + new { Name = "value", Info = "The input value." } + }, + Returns = "The location of the first set bit.", + Overloads = new[] + { + new { Return = "int", Params = new[] { "int" } }, + new { Return = "Int2", Params = new[] { "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4" } }, + new { Return = "uint", Params = new[] { "uint" } }, + new { Return = "UInt2", Params = new[] { "UInt2" } }, + new { Return = "UInt3", Params = new[] { "UInt3" } }, + new { Return = "UInt4", Params = new[] { "UInt4" } } + }, + IsPure = true + }, + new + { + Name = "Floor", + HlslName = "floor", + Summary = "Returns the largest integer that is less than or equal to the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The largest integer value (returned as a floating-point type) that is less than or equal to the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "FusedMultiplyAccumulate", + HlslName = "fma", + Summary = "Returns the double-precision fused multiply-addition of a * b + c.", + Parameters = new[] + { + new { Name = "a", Info = "The first value in the fused multiply-addition." }, + new { Name = "b", Info = "The second value in the fused multiply-addition." }, + new { Name = "c", Info = "The third value in the fused multiply-addition." } + }, + Returns = "The double-precision fused multiply-addition of parameters a * b + c. The returned value must be accurate to 0.5 units of least precision (ULP).", + Overloads = new[] + { + new { Return = "double", Params = new[] { "double", "double", "double" } }, + new { Return = "Double2", Params = new[] { "Double2", "Double2", "Double2" } }, + new { Return = "Double3", Params = new[] { "Double3", "Double3", "Double3" } }, + new { Return = "Double4", Params = new[] { "Double4", "Double4", "Double4" } }, + new { Return = "Double1x1", Params = new[] { "Double1x1", "Double1x1", "Double1x1" } }, + new { Return = "Double1x2", Params = new[] { "Double1x2", "Double1x2", "Double1x2" } }, + new { Return = "Double1x3", Params = new[] { "Double1x3", "Double1x3", "Double1x3" } }, + new { Return = "Double1x4", Params = new[] { "Double1x4", "Double1x4", "Double1x4" } }, + new { Return = "Double2x1", Params = new[] { "Double2x1", "Double2x1", "Double2x1" } }, + new { Return = "Double2x2", Params = new[] { "Double2x2", "Double2x2", "Double2x2" } }, + new { Return = "Double2x3", Params = new[] { "Double2x3", "Double2x3", "Double2x3" } }, + new { Return = "Double2x4", Params = new[] { "Double2x4", "Double2x4", "Double2x4" } }, + new { Return = "Double3x1", Params = new[] { "Double3x1", "Double3x1", "Double3x1" } }, + new { Return = "Double3x2", Params = new[] { "Double3x2", "Double3x2", "Double3x2" } }, + new { Return = "Double3x3", Params = new[] { "Double3x3", "Double3x3", "Double3x3" } }, + new { Return = "Double3x4", Params = new[] { "Double3x4", "Double3x4", "Double3x4" } }, + new { Return = "Double4x1", Params = new[] { "Double4x1", "Double4x1", "Double4x1" } }, + new { Return = "Double4x2", Params = new[] { "Double4x2", "Double4x2", "Double4x2" } }, + new { Return = "Double4x3", Params = new[] { "Double4x3", "Double4x3", "Double4x3" } }, + new { Return = "Double4x4", Params = new[] { "Double4x4", "Double4x4", "Double4x4" } } + }, + IsPure = true + }, + new + { + Name = "Fmod", + HlslName = "fmod", + Summary = "Returns the floating-point remainder of x / y.", + Parameters = new[] + { + new { Name = "x", Info = "The floating-point dividend." }, + new { Name = "y", Info = "The floating-point divisor." } + }, + Returns = "The floating-point remainder of the x parameter divided by the y parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Frac", + HlslName = "frac", + Summary = "Returns the fractional (or decimal) part of the input which is greater than or equal to 0 and less than 1.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The fractional part of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Frexp", + HlslName = "frexp", + Summary = "Returns the mantissa and exponent of the specified floating-point value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified floating-point value." }, + new { Name = "exp", Info = "The returned exponent of the input parameter." } + }, + Returns = "The mantissa of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } } + }, + IsPure = false + }, + new + { + Name = "IsFinite", + HlslName = "isfinite", + Summary = "Determines if the specified floating-point value is finite.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "Returns a value of the same size as {x}, indicaating whether each component is finite.", + Overloads = new[] + { + new { Return = "bool", Params = new[] { "float" } }, + new { Return = "Bool2", Params = new[] { "Float2" } }, + new { Return = "Bool3", Params = new[] { "Float3" } }, + new { Return = "Bool4", Params = new[] { "Float4" } }, + new { Return = "Bool1x1", Params = new[] { "Float1x1" } }, + new { Return = "Bool1x2", Params = new[] { "Float1x2" } }, + new { Return = "Bool1x3", Params = new[] { "Float1x3" } }, + new { Return = "Bool1x4", Params = new[] { "Float1x4" } }, + new { Return = "Bool2x1", Params = new[] { "Float2x1" } }, + new { Return = "Bool2x2", Params = new[] { "Float2x2" } }, + new { Return = "Bool2x3", Params = new[] { "Float2x3" } }, + new { Return = "Bool2x4", Params = new[] { "Float2x4" } }, + new { Return = "Bool3x1", Params = new[] { "Float3x1" } }, + new { Return = "Bool3x2", Params = new[] { "Float3x2" } }, + new { Return = "Bool3x3", Params = new[] { "Float3x3" } }, + new { Return = "Bool3x4", Params = new[] { "Float3x4" } }, + new { Return = "Bool4x1", Params = new[] { "Float4x1" } }, + new { Return = "Bool4x2", Params = new[] { "Float4x2" } }, + new { Return = "Bool4x3", Params = new[] { "Float4x3" } }, + new { Return = "Bool4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "IsInfinite", + HlslName = "isinf", + Summary = "Determines if the specified value is infinite.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "Returns a value of the same size as {x}, indicaating whether each component is infinite.", + Overloads = new[] + { + new { Return = "bool", Params = new[] { "float" } }, + new { Return = "Bool2", Params = new[] { "Float2" } }, + new { Return = "Bool3", Params = new[] { "Float3" } }, + new { Return = "Bool4", Params = new[] { "Float4" } }, + new { Return = "Bool1x1", Params = new[] { "Float1x1" } }, + new { Return = "Bool1x2", Params = new[] { "Float1x2" } }, + new { Return = "Bool1x3", Params = new[] { "Float1x3" } }, + new { Return = "Bool1x4", Params = new[] { "Float1x4" } }, + new { Return = "Bool2x1", Params = new[] { "Float2x1" } }, + new { Return = "Bool2x2", Params = new[] { "Float2x2" } }, + new { Return = "Bool2x3", Params = new[] { "Float2x3" } }, + new { Return = "Bool2x4", Params = new[] { "Float2x4" } }, + new { Return = "Bool3x1", Params = new[] { "Float3x1" } }, + new { Return = "Bool3x2", Params = new[] { "Float3x2" } }, + new { Return = "Bool3x3", Params = new[] { "Float3x3" } }, + new { Return = "Bool3x4", Params = new[] { "Float3x4" } }, + new { Return = "Bool4x1", Params = new[] { "Float4x1" } }, + new { Return = "Bool4x2", Params = new[] { "Float4x2" } }, + new { Return = "Bool4x3", Params = new[] { "Float4x3" } }, + new { Return = "Bool4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "IsNaN", + HlslName = "isnan", + Summary = "Determines if the specified value is NAN or QNAN.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "Returns a value of the same size as {x}, indicaating whether each component is NAN or QNAN.", + Overloads = new[] + { + new { Return = "bool", Params = new[] { "float" } }, + new { Return = "Bool2", Params = new[] { "Float2" } }, + new { Return = "Bool3", Params = new[] { "Float3" } }, + new { Return = "Bool4", Params = new[] { "Float4" } }, + new { Return = "Bool1x1", Params = new[] { "Float1x1" } }, + new { Return = "Bool1x2", Params = new[] { "Float1x2" } }, + new { Return = "Bool1x3", Params = new[] { "Float1x3" } }, + new { Return = "Bool1x4", Params = new[] { "Float1x4" } }, + new { Return = "Bool2x1", Params = new[] { "Float2x1" } }, + new { Return = "Bool2x2", Params = new[] { "Float2x2" } }, + new { Return = "Bool2x3", Params = new[] { "Float2x3" } }, + new { Return = "Bool2x4", Params = new[] { "Float2x4" } }, + new { Return = "Bool3x1", Params = new[] { "Float3x1" } }, + new { Return = "Bool3x2", Params = new[] { "Float3x2" } }, + new { Return = "Bool3x3", Params = new[] { "Float3x3" } }, + new { Return = "Bool3x4", Params = new[] { "Float3x4" } }, + new { Return = "Bool4x1", Params = new[] { "Float4x1" } }, + new { Return = "Bool4x2", Params = new[] { "Float4x2" } }, + new { Return = "Bool4x3", Params = new[] { "Float4x3" } }, + new { Return = "Bool4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Ldexp", + HlslName = "ldexp", + Summary = "Returns the result of multiplying the specified value by two, raised to the power of the specified exponent.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." }, + new { Name = "exp", Info = "The specified exponent." } + }, + Returns = "The result of multiplying the {x} parameter by two, raised to the power of the {exp} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Length", + HlslName = "length", + Summary = "Returns the length of the specified floating-point vector.", + Parameters = new[] + { + new { Name = "x", Info = "The specified floating-point vector." } + }, + Returns = "A floating-point scalar that represents the length of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "Float2" } }, + new { Return = "float", Params = new[] { "Float3" } }, + new { Return = "float", Params = new[] { "Float4" } } + }, + IsPure = true + }, + new + { + Name = "Lerp", + HlslName = "lerp", + Summary = "Performs a linear interpolation.", + Parameters = new[] + { + new { Name = "x", Info = "The first-floating point value." }, + new { Name = "min", Info = "The second-floating point value." }, + new { Name = "max", Info = "A value that linearly interpolates between the two inputs." } + }, + Returns = "The result of the linear interpolation.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4", "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Log", + HlslName = "log", + Summary = "Returns the base-e logarithm of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The base-e logarithm of the {x} parameter. If the {x} parameter is negative, this function returns indefinite. If the {x} parameter is 0, this function returns negative infinity.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Log10", + HlslName = "log10", + Summary = "Returns the base-10 logarithm of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The base-10 logarithm of the {x} parameter. If the {x} parameter is negative, this function returns indefinite. If the {x} parameter is 0, this function returns negative infinity.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Log2", + HlslName = "log2", + Summary = "Returns the base-2 logarithm of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The base-2 logarithm of the {x} parameter. If the {x} parameter is negative, this function returns indefinite. If the {x} parameter is 0, this function returns negative infinity.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Max", + HlslName = "max", + Summary = "Selects the greater between two inputs.", + Parameters = new[] + { + new { Name = "x", Info = "The first input value." }, + new { Name = "y", Info = "The second input value." } + }, + Returns = "The {x} or {y} parameter, whichever is the largest value.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } }, + new { Return = "int", Params = new[] { "int", "int" } }, + new { Return = "Int2", Params = new[] { "Int2", "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3", "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4", "Int4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x1", "Int1x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x2", "Int1x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x3", "Int1x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x4", "Int1x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x1", "Int2x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x2", "Int2x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x3", "Int2x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x4", "Int2x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x1", "Int3x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x2", "Int3x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x3", "Int3x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x4", "Int3x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x1", "Int4x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x2", "Int4x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x3", "Int4x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x4", "Int4x4" } } + }, + IsPure = true + }, + new + { + Name = "Min", + HlslName = "min", + Summary = "Selects the lesser between two inputs.", + Parameters = new[] + { + new { Name = "x", Info = "The first input value." }, + new { Name = "y", Info = "The second input value." } + }, + Returns = "The {x} or {y} parameter, whichever is the smallest value.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } }, + new { Return = "int", Params = new[] { "int", "int" } }, + new { Return = "Int2", Params = new[] { "Int2", "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3", "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4", "Int4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x1", "Int1x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x2", "Int1x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x3", "Int1x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x4", "Int1x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x1", "Int2x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x2", "Int2x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x3", "Int2x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x4", "Int2x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x1", "Int3x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x2", "Int3x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x3", "Int3x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x4", "Int3x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x1", "Int4x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x2", "Int4x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x3", "Int4x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x4", "Int4x4" } } + }, + IsPure = true + }, + new + { + Name = "Modf", + HlslName = "modf", + Summary = "Splits a value into fractional and integer parts, each with the same sign as the input value.", + Parameters = new[] + { + new { Name = "x", Info = "The input value." }, + new { Name = "y", Info = "The resulting integer portion." } + }, + Returns = "The signed-fractional portion of {x}.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } }, + new { Return = "int", Params = new[] { "int", "int" } }, + new { Return = "Int2", Params = new[] { "Int2", "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3", "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4", "Int4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x1", "Int1x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x2", "Int1x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x3", "Int1x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x4", "Int1x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x1", "Int2x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x2", "Int2x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x3", "Int2x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x4", "Int2x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x1", "Int3x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x2", "Int3x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x3", "Int3x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x4", "Int3x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x1", "Int4x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x2", "Int4x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x3", "Int4x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x4", "Int4x4" } } + }, + IsPure = true + }, + new + { + Name = "Mul", + HlslName = "mul", + Summary = "Multiplies two values using matrix math.", + Parameters = new[] + { + new { Name = "x", Info = "The first input value." }, + new { Name = "y", Info = "The second input value." } + }, + Returns = "The result of {x} times {y}. The result has the dimension {x}-rows by {y}-columns.", + Overloads = new[] + { + // 1 (scalars) + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "int", Params = new[] { "int", "int" } }, + + // 2 (scalar by vector) + new { Return = "Float2", Params = new[] { "float", "Float2" } }, + new { Return = "Float3", Params = new[] { "float", "Float3" } }, + new { Return = "Float4", Params = new[] { "float", "Float4" } }, + new { Return = "Int2", Params = new[] { "int", "Int2" } }, + new { Return = "Int3", Params = new[] { "int", "Int3" } }, + new { Return = "Int4", Params = new[] { "int", "Int4" } }, + + // 3 (scalar by matrix) + new { Return = "Float1x1", Params = new[] { "float", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "float", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "float", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "float", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "float", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "float", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "float", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "float", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "float", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "float", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "float", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "float", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "float", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "float", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "float", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "float", "Float4x4" } }, + new { Return = "Int1x1", Params = new[] { "int", "Int1x1" } }, + new { Return = "Int1x2", Params = new[] { "int", "Int1x2" } }, + new { Return = "Int1x3", Params = new[] { "int", "Int1x3" } }, + new { Return = "Int1x4", Params = new[] { "int", "Int1x4" } }, + new { Return = "Int2x1", Params = new[] { "int", "Int2x1" } }, + new { Return = "Int2x2", Params = new[] { "int", "Int2x2" } }, + new { Return = "Int2x3", Params = new[] { "int", "Int2x3" } }, + new { Return = "Int2x4", Params = new[] { "int", "Int2x4" } }, + new { Return = "Int3x1", Params = new[] { "int", "Int3x1" } }, + new { Return = "Int3x2", Params = new[] { "int", "Int3x2" } }, + new { Return = "Int3x3", Params = new[] { "int", "Int3x3" } }, + new { Return = "Int3x4", Params = new[] { "int", "Int3x4" } }, + new { Return = "Int4x1", Params = new[] { "int", "Int4x1" } }, + new { Return = "Int4x2", Params = new[] { "int", "Int4x2" } }, + new { Return = "Int4x3", Params = new[] { "int", "Int4x3" } }, + new { Return = "Int4x4", Params = new[] { "int", "Int4x4" } }, + + // 4 (vector by scalar) + new { Return = "Float2", Params = new[] { "Float2", "float" } }, + new { Return = "Float3", Params = new[] { "Float3", "float" } }, + new { Return = "Float4", Params = new[] { "Float4", "float" } }, + new { Return = "Int2", Params = new[] { "Int2", "int" } }, + new { Return = "Int3", Params = new[] { "Int3", "int" } }, + new { Return = "Int4", Params = new[] { "Int4", "int" } }, + + // 5 (vector by vector) + new { Return = "float", Params = new[] { "Float2", "Float2" } }, + new { Return = "float", Params = new[] { "Float3", "Float3" } }, + new { Return = "float", Params = new[] { "Float4", "Float4" } }, + new { Return = "int", Params = new[] { "Int2", "Int2" } }, + new { Return = "int", Params = new[] { "Int3", "Int3" } }, + new { Return = "int", Params = new[] { "Int4", "Int4" } }, + + // 6 (vector by matrix) + new { Return = "float", Params = new[] { "Float2", "Float2x1" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2x2" } }, + new { Return = "Float3", Params = new[] { "Float2", "Float2x3" } }, + new { Return = "Float4", Params = new[] { "Float2", "Float2x4" } }, + new { Return = "float", Params = new[] { "Float3", "Float3x1" } }, + new { Return = "Float2", Params = new[] { "Float3", "Float3x2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3x3" } }, + new { Return = "Float4", Params = new[] { "Float3", "Float3x4" } }, + new { Return = "float", Params = new[] { "Float4", "Float4x1" } }, + new { Return = "Float2", Params = new[] { "Float4", "Float4x2" } }, + new { Return = "Float3", Params = new[] { "Float4", "Float4x3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4x4" } }, + new { Return = "int", Params = new[] { "Int2", "Int2x1" } }, + new { Return = "Int2", Params = new[] { "Int2", "Int2x2" } }, + new { Return = "Int3", Params = new[] { "Int2", "Int2x3" } }, + new { Return = "Int4", Params = new[] { "Int2", "Int2x4" } }, + new { Return = "int", Params = new[] { "Int3", "Int3x1" } }, + new { Return = "Int2", Params = new[] { "Int3", "Int3x2" } }, + new { Return = "Int3", Params = new[] { "Int3", "Int3x3" } }, + new { Return = "Int4", Params = new[] { "Int3", "Int3x4" } }, + new { Return = "int", Params = new[] { "Int4", "Int4x1" } }, + new { Return = "Int2", Params = new[] { "Int4", "Int4x2" } }, + new { Return = "Int3", Params = new[] { "Int4", "Int4x3" } }, + new { Return = "Int4", Params = new[] { "Int4", "Int4x4" } }, + + // 7 (matrix by scalar) + new { Return = "Float1x1", Params = new[] { "Float1x1", "float" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "float" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "float" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "float" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "float" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "float" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "float" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "float" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "float" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "float" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "float" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "float" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "float" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "float" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "float" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "float" } }, + new { Return = "Int1x1", Params = new[] { "Int1x1", "int" } }, + new { Return = "Int1x2", Params = new[] { "Int1x2", "int" } }, + new { Return = "Int1x3", Params = new[] { "Int1x3", "int" } }, + new { Return = "Int1x4", Params = new[] { "Int1x4", "int" } }, + new { Return = "Int2x1", Params = new[] { "Int2x1", "int" } }, + new { Return = "Int2x2", Params = new[] { "Int2x2", "int" } }, + new { Return = "Int2x3", Params = new[] { "Int2x3", "int" } }, + new { Return = "Int2x4", Params = new[] { "Int2x4", "int" } }, + new { Return = "Int3x1", Params = new[] { "Int3x1", "int" } }, + new { Return = "Int3x2", Params = new[] { "Int3x2", "int" } }, + new { Return = "Int3x3", Params = new[] { "Int3x3", "int" } }, + new { Return = "Int3x4", Params = new[] { "Int3x4", "int" } }, + new { Return = "Int4x1", Params = new[] { "Int4x1", "int" } }, + new { Return = "Int4x2", Params = new[] { "Int4x2", "int" } }, + new { Return = "Int4x3", Params = new[] { "Int4x3", "int" } }, + new { Return = "Int4x4", Params = new[] { "Int4x4", "int" } }, + + // 8 (matrix by vector) + new { Return = "float", Params = new[] { "Float1x2", "Float2" } }, + new { Return = "float", Params = new[] { "Float1x3", "Float3" } }, + new { Return = "float", Params = new[] { "Float1x4", "Float4" } }, + new { Return = "Float2", Params = new[] { "Float2x2", "Float2" } }, + new { Return = "Float2", Params = new[] { "Float2x3", "Float3" } }, + new { Return = "Float2", Params = new[] { "Float2x4", "Float4" } }, + new { Return = "Float3", Params = new[] { "Float3x2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3x3", "Float3" } }, + new { Return = "Float3", Params = new[] { "Float3x4", "Float4" } }, + new { Return = "Float4", Params = new[] { "Float4x2", "Float2" } }, + new { Return = "Float4", Params = new[] { "Float4x3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4x4", "Float4" } }, + new { Return = "int", Params = new[] { "Int1x2", "Int2" } }, + new { Return = "int", Params = new[] { "Int1x3", "Int3" } }, + new { Return = "int", Params = new[] { "Int1x4", "Int4" } }, + new { Return = "Int2", Params = new[] { "Int2x2", "Int2" } }, + new { Return = "Int2", Params = new[] { "Int2x3", "Int3" } }, + new { Return = "Int2", Params = new[] { "Int2x4", "Int4" } }, + new { Return = "Int3", Params = new[] { "Int3x2", "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3x3", "Int3" } }, + new { Return = "Int3", Params = new[] { "Int3x4", "Int4" } }, + new { Return = "Int4", Params = new[] { "Int4x2", "Int2" } }, + new { Return = "Int4", Params = new[] { "Int4x3", "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4x4", "Int4" } }, + + // 9 (matrix by matrix) + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x1", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x1", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x1", "Float1x4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x2", "Float2x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float2x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x2", "Float2x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x2", "Float2x4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x3", "Float3x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x3", "Float3x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float3x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x3", "Float3x4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x4", "Float4x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x4", "Float4x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x4", "Float4x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float4x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float1x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x1", "Float1x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x1", "Float1x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x1", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x2", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x2", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x2", "Float2x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x3", "Float3x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x3", "Float3x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float3x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x3", "Float3x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x4", "Float4x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x4", "Float4x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x4", "Float4x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float4x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float1x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x1", "Float1x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x1", "Float1x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x1", "Float1x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x2", "Float2x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float2x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x2", "Float2x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x2", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x3", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x3", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x3", "Float3x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x4", "Float4x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x4", "Float4x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x4", "Float4x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float4x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float1x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x1", "Float1x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x1", "Float1x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x1", "Float1x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x2", "Float2x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float2x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x2", "Float2x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x2", "Float2x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x3", "Float3x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x3", "Float3x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float3x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x3", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x4", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x4", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x4", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x1", "Int1x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x1", "Int1x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x1", "Int1x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x1", "Int1x4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x2", "Int2x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x2", "Int2x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x2", "Int2x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x2", "Int2x4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x3", "Int3x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x3", "Int3x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x3", "Int3x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x3", "Int3x4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x4", "Int4x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x4", "Int4x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x4", "Int4x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x4", "Int4x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x1", "Int1x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x1", "Int1x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x1", "Int1x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x1", "Int1x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x2", "Int2x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x2", "Int2x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x2", "Int2x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x2", "Int2x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x3", "Int3x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x3", "Int3x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x3", "Int3x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x3", "Int3x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x4", "Int4x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x4", "Int4x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x4", "Int4x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x4", "Int4x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x1", "Int1x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x1", "Int1x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x1", "Int1x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x1", "Int1x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x2", "Int2x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x2", "Int2x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x2", "Int2x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x2", "Int2x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x3", "Int3x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x3", "Int3x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x3", "Int3x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x3", "Int3x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x4", "Int4x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x4", "Int4x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x4", "Int4x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x4", "Int4x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x1", "Int1x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x1", "Int1x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x1", "Int1x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x1", "Int1x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x2", "Int2x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x2", "Int2x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x2", "Int2x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x2", "Int2x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x3", "Int3x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x3", "Int3x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x3", "Int3x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x3", "Int3x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x4", "Int4x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x4", "Int4x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x4", "Int4x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x4", "Int4x4" } }, + }, + IsPure = true + }, + new + { + Name = "Noise", + HlslName = "noise", + Summary = "Generates a random value using the Perlin-noise algorithm.", + Parameters = new[] + { + new { Name = "x", Info = "A floating-point vector from which to generate Perlin noise." } + }, + Returns = "The Perlin noise value within a range between -1 and 1.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "Float2" } }, + new { Return = "float", Params = new[] { "Float3" } }, + new { Return = "float", Params = new[] { "Float4" } } + }, + IsPure = true + }, + new + { + Name = "Normalize", + HlslName = "normalize", + Summary = "Normalizes the specified floating-point vector according to x / length(x).", + Parameters = new[] + { + new { Name = "x", Info = "The specified floating-point vector." } + }, + Returns = "The normalized {x} parameter. If the length of the {x} parameter is 0, the result is indefinite.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "Float2" } }, + new { Return = "float", Params = new[] { "Float3" } }, + new { Return = "float", Params = new[] { "Float4" } } + }, + IsPure = true + }, + new + { + Name = "Pow", + HlslName = "pow", + Summary = "Returns the specified value raised to the specified power.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." }, + new { Name = "y", Info = "The specified power." } + }, + Returns = "The {x} parameter raised to the power of the {y} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Radians", + HlslName = "radians", + Summary = "Converts the specified value from degrees to radians.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The {x} parameter converted from degrees to radians.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Rcp", + HlslName = "rcp", + Summary = "Calculates a fast, approximate, per-component reciprocal.", + Parameters = new[] + { + new { Name = "x", Info = "The input value." } + }, + Returns = "The reciprocal of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } }, + new { Return = "double", Params = new[] { "double" } }, + new { Return = "Double2", Params = new[] { "Double2" } }, + new { Return = "Double3", Params = new[] { "Double3" } }, + new { Return = "Double4", Params = new[] { "Double4" } }, + new { Return = "Double1x1", Params = new[] { "Double1x1" } }, + new { Return = "Double1x2", Params = new[] { "Double1x2" } }, + new { Return = "Double1x3", Params = new[] { "Double1x3" } }, + new { Return = "Double1x4", Params = new[] { "Double1x4" } }, + new { Return = "Double2x1", Params = new[] { "Double2x1" } }, + new { Return = "Double2x2", Params = new[] { "Double2x2" } }, + new { Return = "Double2x3", Params = new[] { "Double2x3" } }, + new { Return = "Double2x4", Params = new[] { "Double2x4" } }, + new { Return = "Double3x1", Params = new[] { "Double3x1" } }, + new { Return = "Double3x2", Params = new[] { "Double3x2" } }, + new { Return = "Double3x3", Params = new[] { "Double3x3" } }, + new { Return = "Double3x4", Params = new[] { "Double3x4" } }, + new { Return = "Double4x1", Params = new[] { "Double4x1" } }, + new { Return = "Double4x2", Params = new[] { "Double4x2" } }, + new { Return = "Double4x3", Params = new[] { "Double4x3" } }, + new { Return = "Double4x4", Params = new[] { "Double4x4" } } + }, + IsPure = true + }, + new + { + Name = "ReverseBits", + HlslName = "reversebits", + Summary = "Reverses the order of the bits, per component.", + Parameters = new[] + { + new { Name = "x", Info = "The input value." } + }, + Returns = "The input value, with the bit order reversed.", + Overloads = new[] + { + new { Return = "uint", Params = new[] { "uint" } }, + new { Return = "UInt2", Params = new[] { "UInt2" } }, + new { Return = "UInt3", Params = new[] { "UInt3" } }, + new { Return = "UInt4", Params = new[] { "UInt4" } } + }, + IsPure = true + }, + new + { + Name = "Round", + HlslName = "round", + Summary = "Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The {x} parameter, rounded to the nearest integer within a floating-point type.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Rsqrt", + HlslName = "rsqrt", + Summary = "Returns the reciprocal of the square root of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The reciprocal of the square root of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Saturate", + HlslName = "saturate", + Summary = "Clamps the specified value within the range of 0 to 1.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "The {x} parameter, clamped within the range of 0 to 1.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Sign", + HlslName = "sign", + Summary = "Returns the sign of the input value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value." } + }, + Returns = "Returns -1 if {x} is less than zero; 0 if {x} equals zero; and 1 if {x} is greater than zero.", + Overloads = new[] + { + new { Return = "int", Params = new[] { "float" } }, + new { Return = "Int2", Params = new[] { "Float2" } }, + new { Return = "Int3", Params = new[] { "Float3" } }, + new { Return = "Int4", Params = new[] { "Float4" } }, + new { Return = "Int1x1", Params = new[] { "Float1x1" } }, + new { Return = "Int1x2", Params = new[] { "Float1x2" } }, + new { Return = "Int1x3", Params = new[] { "Float1x3" } }, + new { Return = "Int1x4", Params = new[] { "Float1x4" } }, + new { Return = "Int2x1", Params = new[] { "Float2x1" } }, + new { Return = "Int2x2", Params = new[] { "Float2x2" } }, + new { Return = "Int2x3", Params = new[] { "Float2x3" } }, + new { Return = "Int2x4", Params = new[] { "Float2x4" } }, + new { Return = "Int3x1", Params = new[] { "Float3x1" } }, + new { Return = "Int3x2", Params = new[] { "Float3x2" } }, + new { Return = "Int3x3", Params = new[] { "Float3x3" } }, + new { Return = "Int3x4", Params = new[] { "Float3x4" } }, + new { Return = "Int4x1", Params = new[] { "Float4x1" } }, + new { Return = "Int4x2", Params = new[] { "Float4x2" } }, + new { Return = "Int4x3", Params = new[] { "Float4x3" } }, + new { Return = "Int4x4", Params = new[] { "Float4x4" } }, + new { Return = "int", Params = new[] { "int" } }, + new { Return = "Int2", Params = new[] { "Int2" } }, + new { Return = "Int3", Params = new[] { "Int3" } }, + new { Return = "Int4", Params = new[] { "Int4" } }, + new { Return = "Int1x1", Params = new[] { "Int1x1" } }, + new { Return = "Int1x2", Params = new[] { "Int1x2" } }, + new { Return = "Int1x3", Params = new[] { "Int1x3" } }, + new { Return = "Int1x4", Params = new[] { "Int1x4" } }, + new { Return = "Int2x1", Params = new[] { "Int2x1" } }, + new { Return = "Int2x2", Params = new[] { "Int2x2" } }, + new { Return = "Int2x3", Params = new[] { "Int2x3" } }, + new { Return = "Int2x4", Params = new[] { "Int2x4" } }, + new { Return = "Int3x1", Params = new[] { "Int3x1" } }, + new { Return = "Int3x2", Params = new[] { "Int3x2" } }, + new { Return = "Int3x3", Params = new[] { "Int3x3" } }, + new { Return = "Int3x4", Params = new[] { "Int3x4" } }, + new { Return = "Int4x1", Params = new[] { "Int4x1" } }, + new { Return = "Int4x2", Params = new[] { "Int4x2" } }, + new { Return = "Int4x3", Params = new[] { "Int4x3" } }, + new { Return = "Int4x4", Params = new[] { "Int4x4" } } + }, + IsPure = true + }, + new + { + Name = "Sin", + HlslName = "sin", + Summary = "Returns the sine of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value, in radians." } + }, + Returns = "The sine of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "SinCos", + HlslName = "sincos", + Summary = "Returns the sine and cosine of a specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value, in radians." }, + new { Name = "sin", Info = "The resulting sine." }, + new { Name = "cos", Info = "The resulting cosine." } + }, + Returns = string.Empty, + Overloads = new[] + { + new { Return = "void", Params = new[] { "float", "float", "float" } }, + new { Return = "void", Params = new[] { "Float2", "Float2", "Float2" } }, + new { Return = "void", Params = new[] { "Float3", "Float3", "Float3" } }, + new { Return = "void", Params = new[] { "Float4", "Float4", "Float4" } }, + new { Return = "void", Params = new[] { "Float1x1", "Float1x1", "Float1x1" } }, + new { Return = "void", Params = new[] { "Float1x2", "Float1x2", "Float1x2" } }, + new { Return = "void", Params = new[] { "Float1x3", "Float1x3", "Float1x3" } }, + new { Return = "void", Params = new[] { "Float1x4", "Float1x4", "Float1x4" } }, + new { Return = "void", Params = new[] { "Float2x1", "Float2x1", "Float2x1" } }, + new { Return = "void", Params = new[] { "Float2x2", "Float2x2", "Float2x2" } }, + new { Return = "void", Params = new[] { "Float2x3", "Float2x3", "Float2x3" } }, + new { Return = "void", Params = new[] { "Float2x4", "Float2x4", "Float2x4" } }, + new { Return = "void", Params = new[] { "Float3x1", "Float3x1", "Float3x1" } }, + new { Return = "void", Params = new[] { "Float3x2", "Float3x2", "Float3x2" } }, + new { Return = "void", Params = new[] { "Float3x3", "Float3x3", "Float3x3" } }, + new { Return = "void", Params = new[] { "Float3x4", "Float3x4", "Float3x4" } }, + new { Return = "void", Params = new[] { "Float4x1", "Float4x1", "Float4x1" } }, + new { Return = "void", Params = new[] { "Float4x2", "Float4x2", "Float4x2" } }, + new { Return = "void", Params = new[] { "Float4x3", "Float4x3", "Float4x3" } }, + new { Return = "void", Params = new[] { "Float4x4", "Float4x4", "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Sinh", + HlslName = "sinh", + Summary = "Returns the hyperbolic sine of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value, in radians." } + }, + Returns = "The hyperbolic sine of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "SmoothStep", + HlslName = "smoothstep", + Summary = "Returns a smooth Hermite interpolation between 0 and 1 if the specified value is in the input range.", + Parameters = new[] + { + new { Name = "min", Info = "The specified minimum range." }, + new { Name = "max", Info = "The specified maximum range." }, + new { Name = "x", Info = "The specified value to be interpolated." } + }, + Returns = "Returns 0 if {x} is less than {min}; 1 if {x} is greater than {max}; otherwise, a value between 0 and 1 if {x} is in the range [{min}, {max}].", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4", "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Sqrt", + HlslName = "sqrt", + Summary = "Returns the square root of the specified floating-point value, per component.", + Parameters = new[] + { + new { Name = "x", Info = "The specified floating-point value." } + }, + Returns = "The square root of the {x} parameter, per component.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Step", + HlslName = "step", + Summary = "Compares two values, returning 0 or 1 based on which value is greater.", + Parameters = new[] + { + new { Name = "y", Info = "The first specified floating-point value." }, + new { Name = "x", Info = "The second specified floating-point value." } + }, + Returns = "1 if the {x} parameter is greater than or equal to the {y} parameter; otherwise, 0.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float", "float" } }, + new { Return = "Float2", Params = new[] { "Float2", "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3", "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4", "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1", "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2", "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3", "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4", "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1", "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2", "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3", "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4", "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1", "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2", "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3", "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4", "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1", "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2", "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3", "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4", "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Tan", + HlslName = "tan", + Summary = "Returns the tangent of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value, in radians." } + }, + Returns = "The tangent of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Tanh", + HlslName = "tanh", + Summary = "Returns the hyperbolic tangent of the specified value.", + Parameters = new[] + { + new { Name = "x", Info = "The specified value, in radians." } + }, + Returns = "The hyperbolic tangent of the {x} parameter.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + }, + new + { + Name = "Transpose", + HlslName = "transpose", + Summary = "Transposes the specified input matrix.", + Parameters = new[] + { + new { Name = "x", Info = "The specified matrix." } + }, + Returns = "The transposed value of the {x} parameter.", + Overloads = new[] + { + new { Return = "Float2x1", Params = new[] { "Float1x2" } }, + new { Return = "Float3x1", Params = new[] { "Float1x3" } }, + new { Return = "Float4x1", Params = new[] { "Float1x4" } }, + new { Return = "Float1x2", Params = new[] { "Float2x1" } }, + new { Return = "Float3x2", Params = new[] { "Float2x3" } }, + new { Return = "Float4x2", Params = new[] { "Float2x4" } }, + new { Return = "Float1x3", Params = new[] { "Float3x1" } }, + new { Return = "Float2x3", Params = new[] { "Float3x2" } }, + new { Return = "Float4x3", Params = new[] { "Float3x4" } }, + new { Return = "Float1x4", Params = new[] { "Float4x1" } }, + new { Return = "Float2x4", Params = new[] { "Float4x2" } }, + new { Return = "Float3x4", Params = new[] { "Float4x3" } }, + new { Return = "Int2x1", Params = new[] { "Int1x2" } }, + new { Return = "Int3x1", Params = new[] { "Int1x3" } }, + new { Return = "Int4x1", Params = new[] { "Int1x4" } }, + new { Return = "Int1x2", Params = new[] { "Int2x1" } }, + new { Return = "Int3x2", Params = new[] { "Int2x3" } }, + new { Return = "Int4x2", Params = new[] { "Int2x4" } }, + new { Return = "Int1x3", Params = new[] { "Int3x1" } }, + new { Return = "Int2x3", Params = new[] { "Int3x2" } }, + new { Return = "Int4x3", Params = new[] { "Int3x4" } }, + new { Return = "Int1x4", Params = new[] { "Int4x1" } }, + new { Return = "Int2x4", Params = new[] { "Int4x2" } }, + new { Return = "Int3x4", Params = new[] { "Int4x3" } }, + new { Return = "Bool2x1", Params = new[] { "Bool1x2" } }, + new { Return = "Bool3x1", Params = new[] { "Bool1x3" } }, + new { Return = "Bool4x1", Params = new[] { "Bool1x4" } }, + new { Return = "Bool1x2", Params = new[] { "Bool2x1" } }, + new { Return = "Bool3x2", Params = new[] { "Bool2x3" } }, + new { Return = "Bool4x2", Params = new[] { "Bool2x4" } }, + new { Return = "Bool1x3", Params = new[] { "Bool3x1" } }, + new { Return = "Bool2x3", Params = new[] { "Bool3x2" } }, + new { Return = "Bool4x3", Params = new[] { "Bool3x4" } }, + new { Return = "Bool1x4", Params = new[] { "Bool4x1" } }, + new { Return = "Bool2x4", Params = new[] { "Bool4x2" } }, + new { Return = "Bool3x4", Params = new[] { "Bool4x3" } }, + }, + IsPure = true + }, + new + { + Name = "Trunc", + HlslName = "trunc", + Summary = "Truncates a floating-point value to the integer component.", + Parameters = new[] + { + new { Name = "x", Info = "The specified input." } + }, + Returns = "The input value truncated to an integer component.", + Overloads = new[] + { + new { Return = "float", Params = new[] { "float" } }, + new { Return = "Float2", Params = new[] { "Float2" } }, + new { Return = "Float3", Params = new[] { "Float3" } }, + new { Return = "Float4", Params = new[] { "Float4" } }, + new { Return = "Float1x1", Params = new[] { "Float1x1" } }, + new { Return = "Float1x2", Params = new[] { "Float1x2" } }, + new { Return = "Float1x3", Params = new[] { "Float1x3" } }, + new { Return = "Float1x4", Params = new[] { "Float1x4" } }, + new { Return = "Float2x1", Params = new[] { "Float2x1" } }, + new { Return = "Float2x2", Params = new[] { "Float2x2" } }, + new { Return = "Float2x3", Params = new[] { "Float2x3" } }, + new { Return = "Float2x4", Params = new[] { "Float2x4" } }, + new { Return = "Float3x1", Params = new[] { "Float3x1" } }, + new { Return = "Float3x2", Params = new[] { "Float3x2" } }, + new { Return = "Float3x3", Params = new[] { "Float3x3" } }, + new { Return = "Float3x4", Params = new[] { "Float3x4" } }, + new { Return = "Float4x1", Params = new[] { "Float4x1" } }, + new { Return = "Float4x2", Params = new[] { "Float4x2" } }, + new { Return = "Float4x3", Params = new[] { "Float4x3" } }, + new { Return = "Float4x4", Params = new[] { "Float4x4" } } + }, + IsPure = true + } +}; +#> +using System.Diagnostics.Contracts; +using ComputeSharp.Core.Intrinsics.Attributes; +using ComputeSharp.Exceptions; + +namespace ComputeSharp +{ + /// + public static partial class Hlsl + { +<# +PushIndent(" "); +PushIndent(" "); + +foreach (var intrinsic in intrinsics) +{ + foreach (var overload in intrinsic.Overloads) + { + WriteLine("/// "); + WriteLine($"/// {intrinsic.Summary}"); + WriteLine("/// "); + + foreach (var param in intrinsic.Parameters) + { + WriteLine($"/// {param.Info}"); + } + + var returns = Regex.Replace(intrinsic.Returns, @"{(\w+)}", m => $""); + + WriteLine($"/// {returns}"); + + if (intrinsic.IsPure) WriteLine("[Pure]"); + WriteLine($"[HlslIntrinsicName(\"{intrinsic.HlslName}\")]"); + + Write($"public static {overload.Return} {intrinsic.Name}("); + Write(string.Join(", ", intrinsic.Parameters.Zip(overload.Params, (a, b) => $"{b} {a.Name}"))); + Write(") => throw new InvalidExecutionContextException("); + + var parameters = string.Join(", ", overload.Params.Select(t => $"{{typeof({t})}}")); + + WriteLine($"$\"{{typeof(Hlsl)}}.{{nameof({intrinsic.Name})}}({parameters})\");"); + + WriteLine(""); + } +} + +PopIndent(); +PopIndent(); +#> + } +}