Add operator overloads for vector types

このコミットが含まれているのは:
Sergio Pedri committed 2024-06-18 20:36:47 -07:00
1 親 98961f8cdc
コミット d68fa70493
7ファイル変更
+630

検索条件に一致するファイルはありません

+90
ファイルの表示
@@ -695,6 +695,24 @@ public unsafe partial struct Int2
/// <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 Int2 operator ~(Int2 xy) => default;
/// <summary>
/// Shifts right a <see cref="Int2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Int2"/> 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 Int2 operator >>(Int2 xy, int amount) => default;
/// <summary>
/// Shifts right a <see cref="Int2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Int2"/> 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 Int2 operator >>(Int2 xy, uint amount) => default;
/// <summary>
/// Shifts right a <see cref="Int2"/> value.
/// </summary>
@@ -713,6 +731,24 @@ public unsafe partial struct Int2
/// <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 Int2 operator >>(Int2 xy, UInt2 amount) => default;
/// <summary>
/// Shifts left a <see cref="Int2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Int2"/> 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 Int2 operator <<(Int2 xy, int amount) => default;
/// <summary>
/// Shifts left a <see cref="Int2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Int2"/> 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 Int2 operator <<(Int2 xy, uint amount) => default;
/// <summary>
/// Shifts left a <see cref="Int2"/> value.
/// </summary>
@@ -731,6 +767,24 @@ public unsafe partial struct Int2
/// <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 Int2 operator <<(Int2 xy, UInt2 amount) => default;
/// <summary>
/// Bitwise ands a <see cref="Int2"/> value.
/// </summary>
/// <param name="left">The <see cref="Int2"/> 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 Int2 operator &(Int2 left, int right) => default;
/// <summary>
/// Bitwise ands a <see cref="Int2"/> value.
/// </summary>
/// <param name="left">The <see cref="Int2"/> 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 Int2 operator &(Int2 left, uint right) => default;
/// <summary>
/// Bitwise ands a <see cref="Int2"/> value.
/// </summary>
@@ -749,6 +803,24 @@ public unsafe partial struct Int2
/// <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 Int2 operator &(Int2 left, UInt2 right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int2"/> value.
/// </summary>
/// <param name="left">The <see cref="Int2"/> 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 Int2 operator |(Int2 left, int right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int2"/> value.
/// </summary>
/// <param name="left">The <see cref="Int2"/> 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 Int2 operator |(Int2 left, uint right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int2"/> value.
/// </summary>
@@ -767,6 +839,24 @@ public unsafe partial struct Int2
/// <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 Int2 operator |(Int2 left, UInt2 right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int2"/> value.
/// </summary>
/// <param name="left">The <see cref="Int2"/> 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 Int2 operator ^(Int2 left, int right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int2"/> value.
/// </summary>
/// <param name="left">The <see cref="Int2"/> 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 Int2 operator ^(Int2 left, uint right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int2"/> value.
/// </summary>
+90
ファイルの表示
@@ -2035,6 +2035,24 @@ public unsafe partial struct Int3
/// <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 Int3 operator ~(Int3 xyz) => default;
/// <summary>
/// Shifts right a <see cref="Int3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Int3"/> 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 Int3 operator >>(Int3 xyz, int amount) => default;
/// <summary>
/// Shifts right a <see cref="Int3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Int3"/> 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 Int3 operator >>(Int3 xyz, uint amount) => default;
/// <summary>
/// Shifts right a <see cref="Int3"/> value.
/// </summary>
@@ -2053,6 +2071,24 @@ public unsafe partial struct Int3
/// <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 Int3 operator >>(Int3 xyz, UInt3 amount) => default;
/// <summary>
/// Shifts left a <see cref="Int3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Int3"/> 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 Int3 operator <<(Int3 xyz, int amount) => default;
/// <summary>
/// Shifts left a <see cref="Int3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Int3"/> 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 Int3 operator <<(Int3 xyz, uint amount) => default;
/// <summary>
/// Shifts left a <see cref="Int3"/> value.
/// </summary>
@@ -2071,6 +2107,24 @@ public unsafe partial struct Int3
/// <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 Int3 operator <<(Int3 xyz, UInt3 amount) => default;
/// <summary>
/// Bitwise ands a <see cref="Int3"/> value.
/// </summary>
/// <param name="left">The <see cref="Int3"/> 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 Int3 operator &(Int3 left, int right) => default;
/// <summary>
/// Bitwise ands a <see cref="Int3"/> value.
/// </summary>
/// <param name="left">The <see cref="Int3"/> 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 Int3 operator &(Int3 left, uint right) => default;
/// <summary>
/// Bitwise ands a <see cref="Int3"/> value.
/// </summary>
@@ -2089,6 +2143,24 @@ public unsafe partial struct Int3
/// <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 Int3 operator &(Int3 left, UInt3 right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int3"/> value.
/// </summary>
/// <param name="left">The <see cref="Int3"/> 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 Int3 operator |(Int3 left, int right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int3"/> value.
/// </summary>
/// <param name="left">The <see cref="Int3"/> 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 Int3 operator |(Int3 left, uint right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int3"/> value.
/// </summary>
@@ -2107,6 +2179,24 @@ public unsafe partial struct Int3
/// <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 Int3 operator |(Int3 left, UInt3 right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int3"/> value.
/// </summary>
/// <param name="left">The <see cref="Int3"/> 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 Int3 operator ^(Int3 left, int right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int3"/> value.
/// </summary>
/// <param name="left">The <see cref="Int3"/> 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 Int3 operator ^(Int3 left, uint right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int3"/> value.
/// </summary>
+90
ファイルの表示
@@ -5372,6 +5372,24 @@ public unsafe partial struct Int4
/// <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 Int4 operator ~(Int4 xyzw) => default;
/// <summary>
/// Shifts right a <see cref="Int4"/> value.
/// </summary>
/// <param name="xyzw">The <see cref="Int4"/> 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 Int4 operator >>(Int4 xyzw, int amount) => default;
/// <summary>
/// Shifts right a <see cref="Int4"/> value.
/// </summary>
/// <param name="xyzw">The <see cref="Int4"/> 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 Int4 operator >>(Int4 xyzw, uint amount) => default;
/// <summary>
/// Shifts right a <see cref="Int4"/> value.
/// </summary>
@@ -5390,6 +5408,24 @@ public unsafe partial struct Int4
/// <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 Int4 operator >>(Int4 xyzw, UInt4 amount) => default;
/// <summary>
/// Shifts left a <see cref="Int4"/> value.
/// </summary>
/// <param name="xyzw">The <see cref="Int4"/> 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 Int4 operator <<(Int4 xyzw, int amount) => default;
/// <summary>
/// Shifts left a <see cref="Int4"/> value.
/// </summary>
/// <param name="xyzw">The <see cref="Int4"/> 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 Int4 operator <<(Int4 xyzw, uint amount) => default;
/// <summary>
/// Shifts left a <see cref="Int4"/> value.
/// </summary>
@@ -5408,6 +5444,24 @@ public unsafe partial struct Int4
/// <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 Int4 operator <<(Int4 xyzw, UInt4 amount) => default;
/// <summary>
/// Bitwise ands a <see cref="Int4"/> value.
/// </summary>
/// <param name="left">The <see cref="Int4"/> 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 Int4 operator &(Int4 left, int right) => default;
/// <summary>
/// Bitwise ands a <see cref="Int4"/> value.
/// </summary>
/// <param name="left">The <see cref="Int4"/> 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 Int4 operator &(Int4 left, uint right) => default;
/// <summary>
/// Bitwise ands a <see cref="Int4"/> value.
/// </summary>
@@ -5426,6 +5480,24 @@ public unsafe partial struct Int4
/// <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 Int4 operator &(Int4 left, UInt4 right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int4"/> value.
/// </summary>
/// <param name="left">The <see cref="Int4"/> 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 Int4 operator |(Int4 left, int right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int4"/> value.
/// </summary>
/// <param name="left">The <see cref="Int4"/> 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 Int4 operator |(Int4 left, uint right) => default;
/// <summary>
/// Bitwise ors a <see cref="Int4"/> value.
/// </summary>
@@ -5444,6 +5516,24 @@ public unsafe partial struct Int4
/// <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 Int4 operator |(Int4 left, UInt4 right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int4"/> value.
/// </summary>
/// <param name="left">The <see cref="Int4"/> 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 Int4 operator ^(Int4 left, int right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int4"/> value.
/// </summary>
/// <param name="left">The <see cref="Int4"/> 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 Int4 operator ^(Int4 left, uint right) => default;
/// <summary>
/// Bitwise xors a <see cref="Int4"/> value.
/// </summary>
+90
ファイルの表示
@@ -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>
+90
ファイルの表示
@@ -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>
+90
ファイルの表示
@@ -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>
+90
ファイルの表示
@@ -480,6 +480,24 @@ public unsafe partial struct <#=typeName#>
/// <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 <#=typeName#> operator ~(<#=typeName#> <#=argumentName#>) => default;
/// <summary>
/// Shifts right a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="<#=argumentName#>">The <see cref="<#=typeName#>"/> value to shift right.</param>
/// <param name="amount">The amount to shift each element right by.</param>
/// <returns>The result of shifting <paramref name="<#=argumentName#>"/> 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 <#=typeName#> operator >>(<#=typeName#> <#=argumentName#>, int amount) => default;
/// <summary>
/// Shifts right a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="<#=argumentName#>">The <see cref="<#=typeName#>"/> value to shift right.</param>
/// <param name="amount">The amount to shift each element right by.</param>
/// <returns>The result of shifting <paramref name="<#=argumentName#>"/> 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 <#=typeName#> operator >>(<#=typeName#> <#=argumentName#>, uint amount) => default;
/// <summary>
/// Shifts right a <see cref="<#=typeName#>"/> value.
/// </summary>
@@ -498,6 +516,24 @@ public unsafe partial struct <#=typeName#>
/// <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 <#=typeName#> operator >>(<#=typeName#> <#=argumentName#>, UInt<#=i#> amount) => default;
/// <summary>
/// Shifts left a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="<#=argumentName#>">The <see cref="<#=typeName#>"/> value to shift left.</param>
/// <param name="amount">The amount to shift each element left by.</param>
/// <returns>The result of shifting <paramref name="<#=argumentName#>"/> 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 <#=typeName#> operator <<(<#=typeName#> <#=argumentName#>, int amount) => default;
/// <summary>
/// Shifts left a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="<#=argumentName#>">The <see cref="<#=typeName#>"/> value to shift left.</param>
/// <param name="amount">The amount to shift each element left by.</param>
/// <returns>The result of shifting <paramref name="<#=argumentName#>"/> 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 <#=typeName#> operator <<(<#=typeName#> <#=argumentName#>, uint amount) => default;
/// <summary>
/// Shifts left a <see cref="<#=typeName#>"/> value.
/// </summary>
@@ -516,6 +552,24 @@ public unsafe partial struct <#=typeName#>
/// <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 <#=typeName#> operator <<(<#=typeName#> <#=argumentName#>, UInt<#=i#> amount) => default;
/// <summary>
/// Bitwise ands a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="left">The <see cref="<#=typeName#>"/> 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 <#=typeName#> operator &(<#=typeName#> left, int right) => default;
/// <summary>
/// Bitwise ands a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="left">The <see cref="<#=typeName#>"/> 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 <#=typeName#> operator &(<#=typeName#> left, uint right) => default;
/// <summary>
/// Bitwise ands a <see cref="<#=typeName#>"/> value.
/// </summary>
@@ -534,6 +588,24 @@ public unsafe partial struct <#=typeName#>
/// <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 <#=typeName#> operator &(<#=typeName#> left, UInt<#=i#> right) => default;
/// <summary>
/// Bitwise ors a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="left">The <see cref="<#=typeName#>"/> 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 <#=typeName#> operator |(<#=typeName#> left, int right) => default;
/// <summary>
/// Bitwise ors a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="left">The <see cref="<#=typeName#>"/> 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 <#=typeName#> operator |(<#=typeName#> left, uint right) => default;
/// <summary>
/// Bitwise ors a <see cref="<#=typeName#>"/> value.
/// </summary>
@@ -552,6 +624,24 @@ public unsafe partial struct <#=typeName#>
/// <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 <#=typeName#> operator |(<#=typeName#> left, UInt<#=i#> right) => default;
/// <summary>
/// Bitwise xors a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="left">The <see cref="<#=typeName#>"/> 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 <#=typeName#> operator ^(<#=typeName#> left, int right) => default;
/// <summary>
/// Bitwise xors a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="left">The <see cref="<#=typeName#>"/> 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 <#=typeName#> operator ^(<#=typeName#> left, uint right) => default;
/// <summary>
/// Bitwise xors a <see cref="<#=typeName#>"/> value.
/// </summary>