Add operator overloads for vector types
このコミットが含まれているのは:
1 親
98961f8cdc
コミット
d68fa70493
7ファイル変更
+630
検索条件に一致するファイルはありません
@@ -598,6 +598,24 @@ public unsafe partial struct UInt2
|
||||
/// <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 UInt2 operator ~(UInt2 xy) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xy">The <see cref="UInt2"/> value to shift right.</param>
|
||||
/// <param name="amount">The amount to shift each element right by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xy"/> right by <paramref name="amount"/>.</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 UInt2 operator >>(UInt2 xy, int amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xy">The <see cref="UInt2"/> value to shift right.</param>
|
||||
/// <param name="amount">The amount to shift each element right by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xy"/> right by <paramref name="amount"/>.</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 UInt2 operator >>(UInt2 xy, uint amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
@@ -616,6 +634,24 @@ public unsafe partial struct UInt2
|
||||
/// <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 UInt2 operator >>(UInt2 xy, UInt2 amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xy">The <see cref="UInt2"/> value to shift left.</param>
|
||||
/// <param name="amount">The amount to shift each element left by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xy"/> left by <paramref name="amount"/>.</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 UInt2 operator <<(UInt2 xy, int amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xy">The <see cref="UInt2"/> value to shift left.</param>
|
||||
/// <param name="amount">The amount to shift each element left by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xy"/> left by <paramref name="amount"/>.</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 UInt2 operator <<(UInt2 xy, uint amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
@@ -634,6 +670,24 @@ public unsafe partial struct UInt2
|
||||
/// <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 UInt2 operator <<(UInt2 xy, UInt2 amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt2"/> value to bitwise and.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise and between <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 UInt2 operator &(UInt2 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt2"/> value to bitwise and.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise and between <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 UInt2 operator &(UInt2 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
@@ -652,6 +706,24 @@ public unsafe partial struct UInt2
|
||||
/// <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 UInt2 operator &(UInt2 left, UInt2 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt2"/> value to bitwise or.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise or between <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 UInt2 operator |(UInt2 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt2"/> value to bitwise or.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise or between <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 UInt2 operator |(UInt2 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
@@ -670,6 +742,24 @@ public unsafe partial struct UInt2
|
||||
/// <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 UInt2 operator |(UInt2 left, UInt2 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt2"/> value to bitwise xor.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise xor between <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 UInt2 operator ^(UInt2 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt2"/> value to bitwise xor.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise xor between <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 UInt2 operator ^(UInt2 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt2"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -1938,6 +1938,24 @@ public unsafe partial struct UInt3
|
||||
/// <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 UInt3 operator ~(UInt3 xyz) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The <see cref="UInt3"/> value to shift right.</param>
|
||||
/// <param name="amount">The amount to shift each element right by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xyz"/> right by <paramref name="amount"/>.</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 UInt3 operator >>(UInt3 xyz, int amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The <see cref="UInt3"/> value to shift right.</param>
|
||||
/// <param name="amount">The amount to shift each element right by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xyz"/> right by <paramref name="amount"/>.</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 UInt3 operator >>(UInt3 xyz, uint amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
@@ -1956,6 +1974,24 @@ public unsafe partial struct UInt3
|
||||
/// <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 UInt3 operator >>(UInt3 xyz, UInt3 amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The <see cref="UInt3"/> value to shift left.</param>
|
||||
/// <param name="amount">The amount to shift each element left by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xyz"/> left by <paramref name="amount"/>.</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 UInt3 operator <<(UInt3 xyz, int amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The <see cref="UInt3"/> value to shift left.</param>
|
||||
/// <param name="amount">The amount to shift each element left by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xyz"/> left by <paramref name="amount"/>.</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 UInt3 operator <<(UInt3 xyz, uint amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
@@ -1974,6 +2010,24 @@ public unsafe partial struct UInt3
|
||||
/// <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 UInt3 operator <<(UInt3 xyz, UInt3 amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt3"/> value to bitwise and.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise and between <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 UInt3 operator &(UInt3 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt3"/> value to bitwise and.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise and between <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 UInt3 operator &(UInt3 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
@@ -1992,6 +2046,24 @@ public unsafe partial struct UInt3
|
||||
/// <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 UInt3 operator &(UInt3 left, UInt3 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt3"/> value to bitwise or.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise or between <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 UInt3 operator |(UInt3 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt3"/> value to bitwise or.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise or between <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 UInt3 operator |(UInt3 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
@@ -2010,6 +2082,24 @@ public unsafe partial struct UInt3
|
||||
/// <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 UInt3 operator |(UInt3 left, UInt3 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt3"/> value to bitwise xor.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise xor between <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 UInt3 operator ^(UInt3 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt3"/> value to bitwise xor.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise xor between <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 UInt3 operator ^(UInt3 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt3"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -5275,6 +5275,24 @@ public unsafe partial struct UInt4
|
||||
/// <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 UInt4 operator ~(UInt4 xyzw) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The <see cref="UInt4"/> value to shift right.</param>
|
||||
/// <param name="amount">The amount to shift each element right by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xyzw"/> right by <paramref name="amount"/>.</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 UInt4 operator >>(UInt4 xyzw, int amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The <see cref="UInt4"/> value to shift right.</param>
|
||||
/// <param name="amount">The amount to shift each element right by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xyzw"/> right by <paramref name="amount"/>.</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 UInt4 operator >>(UInt4 xyzw, uint amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts right a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
@@ -5293,6 +5311,24 @@ public unsafe partial struct UInt4
|
||||
/// <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 UInt4 operator >>(UInt4 xyzw, UInt4 amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The <see cref="UInt4"/> value to shift left.</param>
|
||||
/// <param name="amount">The amount to shift each element left by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xyzw"/> left by <paramref name="amount"/>.</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 UInt4 operator <<(UInt4 xyzw, int amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The <see cref="UInt4"/> value to shift left.</param>
|
||||
/// <param name="amount">The amount to shift each element left by.</param>
|
||||
/// <returns>The result of shifting <paramref name="xyzw"/> left by <paramref name="amount"/>.</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 UInt4 operator <<(UInt4 xyzw, uint amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Shifts left a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
@@ -5311,6 +5347,24 @@ public unsafe partial struct UInt4
|
||||
/// <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 UInt4 operator <<(UInt4 xyzw, UInt4 amount) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt4"/> value to bitwise and.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise and between <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 UInt4 operator &(UInt4 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt4"/> value to bitwise and.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise and between <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 UInt4 operator &(UInt4 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ands a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
@@ -5329,6 +5383,24 @@ public unsafe partial struct UInt4
|
||||
/// <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 UInt4 operator &(UInt4 left, UInt4 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt4"/> value to bitwise or.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise or between <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 UInt4 operator |(UInt4 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt4"/> value to bitwise or.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise or between <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 UInt4 operator |(UInt4 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise ors a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
@@ -5347,6 +5419,24 @@ public unsafe partial struct UInt4
|
||||
/// <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 UInt4 operator |(UInt4 left, UInt4 right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt4"/> value to bitwise xor.</param>
|
||||
/// <param name="right">The <see cref="int"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise xor between <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 UInt4 operator ^(UInt4 left, int right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="left">The <see cref="UInt4"/> value to bitwise xor.</param>
|
||||
/// <param name="right">The <see cref="uint"/> value to combine.</param>
|
||||
/// <returns>The result of performing the bitwise xor between <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 UInt4 operator ^(UInt4 left, uint right) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Bitwise xors a <see cref="UInt4"/> value.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする