Add cast operators to HLSL matrix types
このコミットが含まれているのは:
1 親
501d68dd2e
コミット
035e2e4230
5ファイル変更
+1368
検索条件に一致するファイルはありません
@@ -90,6 +90,27 @@ public unsafe partial struct UInt1x1
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x1"/> value to a <see cref="Float1x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float1x1(UInt1x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x1"/> value to a <see cref="Double1x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double1x1(UInt1x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x1"/> value to a <see cref="Int1x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int1x1(UInt1x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt1x1"/> values.
|
||||
/// </summary>
|
||||
@@ -385,6 +406,27 @@ public unsafe partial struct UInt1x2
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x2"/> value to a <see cref="Float1x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float1x2(UInt1x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x2"/> value to a <see cref="Double1x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double1x2(UInt1x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x2"/> value to a <see cref="Int1x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int1x2(UInt1x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt1x2"/> values.
|
||||
/// </summary>
|
||||
@@ -698,6 +740,27 @@ public unsafe partial struct UInt1x3
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x3"/> value to a <see cref="Float1x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float1x3(UInt1x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x3"/> value to a <see cref="Double1x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double1x3(UInt1x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x3"/> value to a <see cref="Int1x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int1x3(UInt1x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt1x3"/> values.
|
||||
/// </summary>
|
||||
@@ -1023,6 +1086,27 @@ public unsafe partial struct UInt1x4
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x4"/> value to a <see cref="Float1x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float1x4(UInt1x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x4"/> value to a <see cref="Double1x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double1x4(UInt1x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt1x4"/> value to a <see cref="Int1x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt1x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int1x4(UInt1x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt1x4"/> values.
|
||||
/// </summary>
|
||||
@@ -1324,6 +1408,27 @@ public unsafe partial struct UInt2x1
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x1"/> value to a <see cref="Float2x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float2x1(UInt2x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x1"/> value to a <see cref="Double2x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double2x1(UInt2x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x1"/> value to a <see cref="Int2x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int2x1(UInt2x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt2x1"/> values.
|
||||
/// </summary>
|
||||
@@ -1662,6 +1767,27 @@ public unsafe partial struct UInt2x2
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x2"/> value to a <see cref="Float2x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float2x2(UInt2x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x2"/> value to a <see cref="Double2x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double2x2(UInt2x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x2"/> value to a <see cref="Int2x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int2x2(UInt2x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt2x2"/> values.
|
||||
/// </summary>
|
||||
@@ -2020,6 +2146,27 @@ public unsafe partial struct UInt2x3
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x3"/> value to a <see cref="Float2x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float2x3(UInt2x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x3"/> value to a <see cref="Double2x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double2x3(UInt2x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x3"/> value to a <see cref="Int2x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int2x3(UInt2x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt2x3"/> values.
|
||||
/// </summary>
|
||||
@@ -2404,6 +2551,27 @@ public unsafe partial struct UInt2x4
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x4"/> value to a <see cref="Float2x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float2x4(UInt2x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x4"/> value to a <see cref="Double2x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double2x4(UInt2x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2x4"/> value to a <see cref="Int2x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt2x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int2x4(UInt2x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt2x4"/> values.
|
||||
/// </summary>
|
||||
@@ -2711,6 +2879,27 @@ public unsafe partial struct UInt3x1
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x1"/> value to a <see cref="Float3x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float3x1(UInt3x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x1"/> value to a <see cref="Double3x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double3x1(UInt3x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x1"/> value to a <see cref="Int3x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int3x1(UInt3x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt3x1"/> values.
|
||||
/// </summary>
|
||||
@@ -3076,6 +3265,27 @@ public unsafe partial struct UInt3x2
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x2"/> value to a <see cref="Float3x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float3x2(UInt3x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x2"/> value to a <see cref="Double3x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double3x2(UInt3x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x2"/> value to a <see cref="Int3x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int3x2(UInt3x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt3x2"/> values.
|
||||
/// </summary>
|
||||
@@ -3474,6 +3684,27 @@ public unsafe partial struct UInt3x3
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x3"/> value to a <see cref="Float3x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float3x3(UInt3x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x3"/> value to a <see cref="Double3x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double3x3(UInt3x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x3"/> value to a <see cref="Int3x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int3x3(UInt3x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt3x3"/> values.
|
||||
/// </summary>
|
||||
@@ -3911,6 +4142,27 @@ public unsafe partial struct UInt3x4
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x4"/> value to a <see cref="Float3x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float3x4(UInt3x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x4"/> value to a <see cref="Double3x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double3x4(UInt3x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3x4"/> value to a <see cref="Int3x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt3x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int3x4(UInt3x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt3x4"/> values.
|
||||
/// </summary>
|
||||
@@ -4230,6 +4482,27 @@ public unsafe partial struct UInt4x1
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x1"/> value to a <see cref="Float4x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float4x1(UInt4x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x1"/> value to a <see cref="Double4x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double4x1(UInt4x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x1"/> value to a <see cref="Int4x1"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x1"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int4x1(UInt4x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt4x1"/> values.
|
||||
/// </summary>
|
||||
@@ -4622,6 +4895,27 @@ public unsafe partial struct UInt4x2
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x2"/> value to a <see cref="Float4x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float4x2(UInt4x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x2"/> value to a <see cref="Double4x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double4x2(UInt4x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x2"/> value to a <see cref="Int4x2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int4x2(UInt4x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt4x2"/> values.
|
||||
/// </summary>
|
||||
@@ -5060,6 +5354,27 @@ public unsafe partial struct UInt4x3
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x3"/> value to a <see cref="Float4x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float4x3(UInt4x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x3"/> value to a <see cref="Double4x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double4x3(UInt4x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x3"/> value to a <see cref="Int4x3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int4x3(UInt4x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt4x3"/> values.
|
||||
/// </summary>
|
||||
@@ -5550,6 +5865,27 @@ public unsafe partial struct UInt4x4
|
||||
return matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x4"/> value to a <see cref="Float4x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Float4x4(UInt4x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x4"/> value to a <see cref="Double4x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double4x4(UInt4x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4x4"/> value to a <see cref="Int4x4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="matrix">The input <see cref="UInt4x4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Int4x4(UInt4x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt4x4"/> values.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする