#pragma warning disable CS0660, CS0661, IDE0290
namespace ComputeSharp;
///
/// A that maps the HLSL type.
///
public partial struct Int2
{
///
/// Creates a new value with the same value for all its components.
///
/// The value to use for the components of the new instance.
public static implicit operator Int2(int x) => new(x, x);
///
/// Casts a value to a one.
///
/// The input value to cast.
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static explicit operator UInt2(Int2 xy) => default;
///
/// Casts a value to a one.
///
/// The input value to cast.
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static implicit operator Float2(Int2 xy) => default;
///
/// Casts a value to a one.
///
/// The input value to cast.
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static implicit operator Double2(Int2 xy) => default;
}