Add new HLSL >, >=, <, <=, ==, !=, % operators
このコミットが含まれているのは:
1 親
ebf906c062
コミット
34afa9a37d
37ファイル変更
+5656
-12
検索条件に一致するファイルはありません
@@ -1,4 +1,6 @@
|
||||
namespace ComputeSharp;
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
/// <summary>
|
||||
/// A <see langword="struct"/> that maps the <see langword="bool2"/> HLSL type.
|
||||
|
||||
@@ -6,6 +6,7 @@ using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServic
|
||||
#endif
|
||||
|
||||
#nullable enable
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -405,6 +406,25 @@ public unsafe partial struct Bool2
|
||||
/// Negates a <see cref="Bool2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xy">The <see cref="Bool2"/> value to negate.</param>
|
||||
/// <returns>The negated value of <paramref name="xy"/>.</returns>
|
||||
/// <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 Bool2 operator !(Bool2 xy) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2 operator ==(Bool2 left, Bool2 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2 operator !=(Bool2 left, Bool2 right) => default;
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace ComputeSharp;
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
/// <summary>
|
||||
/// A <see langword="struct"/> that maps the <see langword="bool3"/> HLSL type.
|
||||
|
||||
@@ -6,6 +6,7 @@ using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServic
|
||||
#endif
|
||||
|
||||
#nullable enable
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -1486,6 +1487,25 @@ public unsafe partial struct Bool3
|
||||
/// Negates a <see cref="Bool3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The <see cref="Bool3"/> value to negate.</param>
|
||||
/// <returns>The negated value of <paramref name="xyz"/>.</returns>
|
||||
/// <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 Bool3 operator !(Bool3 xyz) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3 operator ==(Bool3 left, Bool3 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3 operator !=(Bool3 left, Bool3 right) => default;
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace ComputeSharp;
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
/// <summary>
|
||||
/// A <see langword="struct"/> that maps the <see langword="bool4"/> HLSL type.
|
||||
|
||||
@@ -6,6 +6,7 @@ using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServic
|
||||
#endif
|
||||
|
||||
#nullable enable
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -4127,6 +4128,25 @@ public unsafe partial struct Bool4
|
||||
/// Negates a <see cref="Bool4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The <see cref="Bool4"/> value to negate.</param>
|
||||
/// <returns>The negated value of <paramref name="xyzw"/>.</returns>
|
||||
/// <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 Bool4 operator !(Bool4 xyzw) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4 operator ==(Bool4 left, Bool4 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4 operator !=(Bool4 left, Bool4 right) => default;
|
||||
}
|
||||
@@ -5,6 +5,8 @@ using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServ
|
||||
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
|
||||
#endif
|
||||
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
/// <inheritdoc cref="Bool1x1"/>
|
||||
@@ -86,6 +88,24 @@ public unsafe partial struct Bool1x1
|
||||
/// <param name="matrix">The <see cref="Bool1x1"/> value to negate.</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 Bool1x1 operator !(Bool1x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool1x1"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool1x1"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool1x1"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool1x1 operator ==(Bool1x1 left, Bool1x1 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool1x1"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool1x1"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool1x1"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool1x1 operator !=(Bool1x1 left, Bool1x1 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool1x2"/>
|
||||
@@ -179,6 +199,24 @@ public unsafe partial struct Bool1x2
|
||||
/// <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 Bool1x2 operator !(Bool1x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool1x2"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool1x2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool1x2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool1x2 operator ==(Bool1x2 left, Bool1x2 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool1x2"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool1x2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool1x2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool1x2 operator !=(Bool1x2 left, Bool1x2 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="Bool2"/> value to a <see cref="Bool1x2"/> one.
|
||||
/// </summary>
|
||||
@@ -288,6 +326,24 @@ public unsafe partial struct Bool1x3
|
||||
/// <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 Bool1x3 operator !(Bool1x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool1x3"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool1x3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool1x3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool1x3 operator ==(Bool1x3 left, Bool1x3 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool1x3"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool1x3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool1x3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool1x3 operator !=(Bool1x3 left, Bool1x3 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="Bool3"/> value to a <see cref="Bool1x3"/> one.
|
||||
/// </summary>
|
||||
@@ -408,6 +464,24 @@ public unsafe partial struct Bool1x4
|
||||
/// <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 Bool1x4 operator !(Bool1x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool1x4"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool1x4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool1x4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool1x4 operator ==(Bool1x4 left, Bool1x4 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool1x4"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool1x4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool1x4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool1x4 operator !=(Bool1x4 left, Bool1x4 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="Bool4"/> value to a <see cref="Bool1x4"/> one.
|
||||
/// </summary>
|
||||
@@ -506,6 +580,24 @@ public unsafe partial struct Bool2x1
|
||||
/// <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 Bool2x1 operator !(Bool2x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2x1"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2x1"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2x1"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2x1 operator ==(Bool2x1 left, Bool2x1 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2x1"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2x1"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2x1"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2x1 operator !=(Bool2x1 left, Bool2x1 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="Bool2x1"/> value to a <see cref="Bool2"/> one.
|
||||
/// </summary>
|
||||
@@ -638,6 +730,24 @@ public unsafe partial struct Bool2x2
|
||||
/// <param name="matrix">The <see cref="Bool2x2"/> value to negate.</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 Bool2x2 operator !(Bool2x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2x2"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2x2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2x2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2x2 operator ==(Bool2x2 left, Bool2x2 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2x2"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2x2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2x2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2x2 operator !=(Bool2x2 left, Bool2x2 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool2x3"/>
|
||||
@@ -789,6 +899,24 @@ public unsafe partial struct Bool2x3
|
||||
/// <param name="matrix">The <see cref="Bool2x3"/> value to negate.</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 Bool2x3 operator !(Bool2x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2x3"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2x3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2x3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2x3 operator ==(Bool2x3 left, Bool2x3 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2x3"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2x3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2x3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2x3 operator !=(Bool2x3 left, Bool2x3 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool2x4"/>
|
||||
@@ -964,6 +1092,24 @@ public unsafe partial struct Bool2x4
|
||||
/// <param name="matrix">The <see cref="Bool2x4"/> value to negate.</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 Bool2x4 operator !(Bool2x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2x4"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2x4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2x4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2x4 operator ==(Bool2x4 left, Bool2x4 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool2x4"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool2x4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool2x4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool2x4 operator !=(Bool2x4 left, Bool2x4 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool3x1"/>
|
||||
@@ -1068,6 +1214,24 @@ public unsafe partial struct Bool3x1
|
||||
/// <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 Bool3x1 operator !(Bool3x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3x1"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3x1"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3x1"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3x1 operator ==(Bool3x1 left, Bool3x1 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3x1"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3x1"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3x1"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3x1 operator !=(Bool3x1 left, Bool3x1 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="Bool3x1"/> value to a <see cref="Bool3"/> one.
|
||||
/// </summary>
|
||||
@@ -1225,6 +1389,24 @@ public unsafe partial struct Bool3x2
|
||||
/// <param name="matrix">The <see cref="Bool3x2"/> value to negate.</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 Bool3x2 operator !(Bool3x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3x2"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3x2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3x2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3x2 operator ==(Bool3x2 left, Bool3x2 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3x2"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3x2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3x2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3x2 operator !=(Bool3x2 left, Bool3x2 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool3x3"/>
|
||||
@@ -1413,6 +1595,24 @@ public unsafe partial struct Bool3x3
|
||||
/// <param name="matrix">The <see cref="Bool3x3"/> value to negate.</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 Bool3x3 operator !(Bool3x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3x3"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3x3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3x3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3x3 operator ==(Bool3x3 left, Bool3x3 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3x3"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3x3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3x3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3x3 operator !=(Bool3x3 left, Bool3x3 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool3x4"/>
|
||||
@@ -1637,6 +1837,24 @@ public unsafe partial struct Bool3x4
|
||||
/// <param name="matrix">The <see cref="Bool3x4"/> value to negate.</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 Bool3x4 operator !(Bool3x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3x4"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3x4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3x4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3x4 operator ==(Bool3x4 left, Bool3x4 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool3x4"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool3x4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool3x4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool3x4 operator !=(Bool3x4 left, Bool3x4 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool4x1"/>
|
||||
@@ -1752,6 +1970,24 @@ public unsafe partial struct Bool4x1
|
||||
/// <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 Bool4x1 operator !(Bool4x1 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4x1"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4x1"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4x1"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4x1 operator ==(Bool4x1 left, Bool4x1 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4x1"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4x1"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4x1"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4x1 operator !=(Bool4x1 left, Bool4x1 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="Bool4x1"/> value to a <see cref="Bool4"/> one.
|
||||
/// </summary>
|
||||
@@ -1934,6 +2170,24 @@ public unsafe partial struct Bool4x2
|
||||
/// <param name="matrix">The <see cref="Bool4x2"/> value to negate.</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 Bool4x2 operator !(Bool4x2 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4x2"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4x2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4x2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4x2 operator ==(Bool4x2 left, Bool4x2 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4x2"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4x2"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4x2"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4x2 operator !=(Bool4x2 left, Bool4x2 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool4x3"/>
|
||||
@@ -2159,6 +2413,24 @@ public unsafe partial struct Bool4x3
|
||||
/// <param name="matrix">The <see cref="Bool4x3"/> value to negate.</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 Bool4x3 operator !(Bool4x3 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4x3"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4x3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4x3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4x3 operator ==(Bool4x3 left, Bool4x3 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4x3"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4x3"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4x3"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4x3 operator !=(Bool4x3 left, Bool4x3 right) => default;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Bool4x4"/>
|
||||
@@ -2432,4 +2704,22 @@ public unsafe partial struct Bool4x4
|
||||
/// <param name="matrix">The <see cref="Bool4x4"/> value to negate.</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 Bool4x4 operator !(Bool4x4 matrix) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4x4"/> values to see if they are equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4x4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4x4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4x4 operator ==(Bool4x4 left, Bool4x4 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Compares two <see cref="Bool4x4"/> values to see if they are not equal.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Bool4x4"/> value to compare.</param>
|
||||
/// <param name="right">The second <see cref="Bool4x4"/> value to compare.</param>
|
||||
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
||||
/// <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 Bool4x4 operator !=(Bool4x4 left, Bool4x4 right) => default;
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする