using System.Diagnostics.Contracts;
using ComputeSharp.Core.Intrinsics.Attributes;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
///
/// A that maps the supported HLSL intrinsic functions that can be used in compute shaders.
///
public static 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.
///
///
/// A memory barrier guarantees that outstanding memory operations have completed.
/// 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)}()");
///
/// 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.
///
///
/// A memory barrier guarantees that outstanding memory operations have completed.
/// 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)})");
///
/// 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)}()");
///
/// 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)})");
///
/// 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)}()");
///
/// 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)}()");
///
/// Performs a guaranteed atomic add of a value to a destination.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedAdd(int destination, int value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedAdd)}(int,int)");
///
/// Performs a guaranteed atomic add of a value to a destination.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedAdd(uint destination, uint value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedAdd)}(uint,uint)");
///
/// Performs a guaranteed atomic add of a value to a destination.
///
/// The destination value.
/// The input value.
/// The original input value.
[PreserveMemberName]
public static void InterlockedAdd(int destination, int value, out int original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedAdd)}(int,int,int)");
///
/// Performs a guaranteed atomic add of a value to a destination.
///
/// The destination value.
/// The input value.
/// The original input value.
[PreserveMemberName]
public static void InterlockedAdd(uint destination, uint value, out uint original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedAdd)}(uint,uint,uint)");
///
/// Performs a guaranteed atomic and of a value to a destination.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedAnd(int destination, int value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedAnd)}(int,int)");
///
/// Performs a guaranteed atomic and of a value to a destination.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedAnd(uint destination, uint value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedAnd)}(uint,uint)");
///
/// Performs a guaranteed atomic and of a value to a destination.
///
/// The destination value.
/// The input value.
/// The original input value.
[PreserveMemberName]
public static void InterlockedAnd(int destination, int value, out int original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedAnd)}(int,int,int)");
///
/// Performs a guaranteed atomic and of a value to a destination.
///
/// The destination value.
/// The input value.
/// The original input value.
[PreserveMemberName]
public static void InterlockedAnd(uint destination, uint value, out uint original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedAnd)}(uint,uint,uint)");
///
/// Atomically compares the destination with the comparison value. If they are identical, the destination
/// is overwritten with the input value. The original value is set to the destination's original value.
///
/// The destination value.
/// The comparison value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedCompareExchange(int destination, int comparison, int value, out int original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedCompareExchange)}(int,int,int,int)");
///
/// Atomically compares the destination with the comparison value. If they are identical, the destination
/// is overwritten with the input value. The original value is set to the destination's original value.
///
/// The destination value.
/// The comparison value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedCompareExchange(uint destination, uint comparison, uint value, out uint original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedCompareExchange)}(uint,uint,uint,uint)");
///
/// Atomically compares the destination to the comparison value. If they
/// are identical, the destination is overwritten with the input value.
///
/// The destination value.
/// The comparison value.
/// The input value.
[PreserveMemberName]
public static void InterlockedCompareStore(int destination, int comparison, int value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedCompareStore)}(int,int,int)");
///
/// Atomically compares the destination to the comparison value. If they
/// are identical, the destination is overwritten with the input value.
///
/// The destination value.
/// The comparison value.
/// The input value.
[PreserveMemberName]
public static void InterlockedCompareStore(uint destination, uint comparison, uint value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedCompareStore)}(uint,uint,uint)");
///
/// Assigns value to dest and returns the original value.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedExchange(int destination, int value, out int original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedExchange)}(int,int,int)");
///
/// Assigns value to dest and returns the original value.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedExchange(uint destination, uint value, out uint original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedExchange)}(uint,uint,uint)");
///
/// Performs a guaranteed atomic max.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedMax(int destination, int value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedMax)}(int,int)");
///
/// Performs a guaranteed atomic max.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedMax(uint destination, uint value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedMax)}(uint,uint)");
///
/// Performs a guaranteed atomic max.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedMax(int destination, int value, out int original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedMax)}(int,int,int)");
///
/// Performs a guaranteed atomic max.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedMax(uint destination, uint value, out uint original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedMax)}(uint,uint,uint)");
///
/// Performs a guaranteed atomic min.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedMin(int destination, int value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedMin)}(int,int)");
///
/// Performs a guaranteed atomic min.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedMin(uint destination, uint value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedMin)}(uint,uint)");
///
/// Performs a guaranteed atomic min.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedMin(int destination, int value, out int original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedMin)}(int,int,int)");
///
/// Performs a guaranteed atomic min.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedMin(uint destination, uint value, out uint original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedMin)}(uint,uint,uint)");
///
/// Performs a guaranteed atomic or.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedOr(int destination, int value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedOr)}(int,int)");
///
/// Performs a guaranteed atomic or.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedOr(uint destination, uint value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedOr)}(uint,uint)");
///
/// Performs a guaranteed atomic or.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedOr(int destination, int value, out int original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedOr)}(int,int,int)");
///
/// Performs a guaranteed atomic or.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedOr(uint destination, uint value, out uint original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedOr)}(uint,uint,uint)");
///
/// Performs a guaranteed atomic xor.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedXor(int destination, int value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedXor)}(int,int)");
///
/// Performs a guaranteed atomic xor.
///
/// The destination value.
/// The input value.
[PreserveMemberName]
public static void InterlockedXor(uint destination, uint value) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedXor)}(uint,uint)");
///
/// Performs a guaranteed atomic xor.
///
/// The destination value.
/// The input value.
/// The original value.
[PreserveMemberName]
public static void InterlockedXor(int destination, int value, out int original) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(InterlockedXor)}(int,int,int)");
///
/// Performs a guaranteed atomic xor.
///
/// The destination value.
/// The input value.
/// 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)})");
}
}