A game about forced loneliness, made by TACStudios
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4//
5// Changes to this file may cause incorrect behavior and will be lost if
6// the code is regenerated. To update the generation of this file, modify and re-run Unity.Mathematics.CodeGen.
7// </auto-generated>
8//------------------------------------------------------------------------------
9using System;
10using System.Runtime.CompilerServices;
11using System.Diagnostics;
12using Unity.IL2CPP.CompilerServices;
13
14#pragma warning disable 0660, 0661
15
16namespace Unity.Mathematics
17{
18 /// <summary>A 4 component vector of uints.</summary>
19 [DebuggerTypeProxy(typeof(uint4.DebuggerProxy))]
20 [System.Serializable]
21 [Il2CppEagerStaticClassConstruction]
22 public partial struct uint4 : System.IEquatable<uint4>, IFormattable
23 {
24 /// <summary>x component of the vector.</summary>
25 public uint x;
26 /// <summary>y component of the vector.</summary>
27 public uint y;
28 /// <summary>z component of the vector.</summary>
29 public uint z;
30 /// <summary>w component of the vector.</summary>
31 public uint w;
32
33 /// <summary>uint4 zero value.</summary>
34 public static readonly uint4 zero;
35
36 /// <summary>Constructs a uint4 vector from four uint values.</summary>
37 /// <param name="x">The constructed vector's x component will be set to this value.</param>
38 /// <param name="y">The constructed vector's y component will be set to this value.</param>
39 /// <param name="z">The constructed vector's z component will be set to this value.</param>
40 /// <param name="w">The constructed vector's w component will be set to this value.</param>
41 [MethodImpl(MethodImplOptions.AggressiveInlining)]
42 public uint4(uint x, uint y, uint z, uint w)
43 {
44 this.x = x;
45 this.y = y;
46 this.z = z;
47 this.w = w;
48 }
49
50 /// <summary>Constructs a uint4 vector from two uint values and a uint2 vector.</summary>
51 /// <param name="x">The constructed vector's x component will be set to this value.</param>
52 /// <param name="y">The constructed vector's y component will be set to this value.</param>
53 /// <param name="zw">The constructed vector's zw components will be set to this value.</param>
54 [MethodImpl(MethodImplOptions.AggressiveInlining)]
55 public uint4(uint x, uint y, uint2 zw)
56 {
57 this.x = x;
58 this.y = y;
59 this.z = zw.x;
60 this.w = zw.y;
61 }
62
63 /// <summary>Constructs a uint4 vector from a uint value, a uint2 vector and a uint value.</summary>
64 /// <param name="x">The constructed vector's x component will be set to this value.</param>
65 /// <param name="yz">The constructed vector's yz components will be set to this value.</param>
66 /// <param name="w">The constructed vector's w component will be set to this value.</param>
67 [MethodImpl(MethodImplOptions.AggressiveInlining)]
68 public uint4(uint x, uint2 yz, uint w)
69 {
70 this.x = x;
71 this.y = yz.x;
72 this.z = yz.y;
73 this.w = w;
74 }
75
76 /// <summary>Constructs a uint4 vector from a uint value and a uint3 vector.</summary>
77 /// <param name="x">The constructed vector's x component will be set to this value.</param>
78 /// <param name="yzw">The constructed vector's yzw components will be set to this value.</param>
79 [MethodImpl(MethodImplOptions.AggressiveInlining)]
80 public uint4(uint x, uint3 yzw)
81 {
82 this.x = x;
83 this.y = yzw.x;
84 this.z = yzw.y;
85 this.w = yzw.z;
86 }
87
88 /// <summary>Constructs a uint4 vector from a uint2 vector and two uint values.</summary>
89 /// <param name="xy">The constructed vector's xy components will be set to this value.</param>
90 /// <param name="z">The constructed vector's z component will be set to this value.</param>
91 /// <param name="w">The constructed vector's w component will be set to this value.</param>
92 [MethodImpl(MethodImplOptions.AggressiveInlining)]
93 public uint4(uint2 xy, uint z, uint w)
94 {
95 this.x = xy.x;
96 this.y = xy.y;
97 this.z = z;
98 this.w = w;
99 }
100
101 /// <summary>Constructs a uint4 vector from two uint2 vectors.</summary>
102 /// <param name="xy">The constructed vector's xy components will be set to this value.</param>
103 /// <param name="zw">The constructed vector's zw components will be set to this value.</param>
104 [MethodImpl(MethodImplOptions.AggressiveInlining)]
105 public uint4(uint2 xy, uint2 zw)
106 {
107 this.x = xy.x;
108 this.y = xy.y;
109 this.z = zw.x;
110 this.w = zw.y;
111 }
112
113 /// <summary>Constructs a uint4 vector from a uint3 vector and a uint value.</summary>
114 /// <param name="xyz">The constructed vector's xyz components will be set to this value.</param>
115 /// <param name="w">The constructed vector's w component will be set to this value.</param>
116 [MethodImpl(MethodImplOptions.AggressiveInlining)]
117 public uint4(uint3 xyz, uint w)
118 {
119 this.x = xyz.x;
120 this.y = xyz.y;
121 this.z = xyz.z;
122 this.w = w;
123 }
124
125 /// <summary>Constructs a uint4 vector from a uint4 vector.</summary>
126 /// <param name="xyzw">The constructed vector's xyzw components will be set to this value.</param>
127 [MethodImpl(MethodImplOptions.AggressiveInlining)]
128 public uint4(uint4 xyzw)
129 {
130 this.x = xyzw.x;
131 this.y = xyzw.y;
132 this.z = xyzw.z;
133 this.w = xyzw.w;
134 }
135
136 /// <summary>Constructs a uint4 vector from a single uint value by assigning it to every component.</summary>
137 /// <param name="v">uint to convert to uint4</param>
138 [MethodImpl(MethodImplOptions.AggressiveInlining)]
139 public uint4(uint v)
140 {
141 this.x = v;
142 this.y = v;
143 this.z = v;
144 this.w = v;
145 }
146
147 /// <summary>Constructs a uint4 vector from a single bool value by converting it to uint and assigning it to every component.</summary>
148 /// <param name="v">bool to convert to uint4</param>
149 [MethodImpl(MethodImplOptions.AggressiveInlining)]
150 public uint4(bool v)
151 {
152 this.x = v ? 1u : 0u;
153 this.y = v ? 1u : 0u;
154 this.z = v ? 1u : 0u;
155 this.w = v ? 1u : 0u;
156 }
157
158 /// <summary>Constructs a uint4 vector from a bool4 vector by componentwise conversion.</summary>
159 /// <param name="v">bool4 to convert to uint4</param>
160 [MethodImpl(MethodImplOptions.AggressiveInlining)]
161 public uint4(bool4 v)
162 {
163 this.x = v.x ? 1u : 0u;
164 this.y = v.y ? 1u : 0u;
165 this.z = v.z ? 1u : 0u;
166 this.w = v.w ? 1u : 0u;
167 }
168
169 /// <summary>Constructs a uint4 vector from a single int value by converting it to uint and assigning it to every component.</summary>
170 /// <param name="v">int to convert to uint4</param>
171 [MethodImpl(MethodImplOptions.AggressiveInlining)]
172 public uint4(int v)
173 {
174 this.x = (uint)v;
175 this.y = (uint)v;
176 this.z = (uint)v;
177 this.w = (uint)v;
178 }
179
180 /// <summary>Constructs a uint4 vector from a int4 vector by componentwise conversion.</summary>
181 /// <param name="v">int4 to convert to uint4</param>
182 [MethodImpl(MethodImplOptions.AggressiveInlining)]
183 public uint4(int4 v)
184 {
185 this.x = (uint)v.x;
186 this.y = (uint)v.y;
187 this.z = (uint)v.z;
188 this.w = (uint)v.w;
189 }
190
191 /// <summary>Constructs a uint4 vector from a single float value by converting it to uint and assigning it to every component.</summary>
192 /// <param name="v">float to convert to uint4</param>
193 [MethodImpl(MethodImplOptions.AggressiveInlining)]
194 public uint4(float v)
195 {
196 this.x = (uint)v;
197 this.y = (uint)v;
198 this.z = (uint)v;
199 this.w = (uint)v;
200 }
201
202 /// <summary>Constructs a uint4 vector from a float4 vector by componentwise conversion.</summary>
203 /// <param name="v">float4 to convert to uint4</param>
204 [MethodImpl(MethodImplOptions.AggressiveInlining)]
205 public uint4(float4 v)
206 {
207 this.x = (uint)v.x;
208 this.y = (uint)v.y;
209 this.z = (uint)v.z;
210 this.w = (uint)v.w;
211 }
212
213 /// <summary>Constructs a uint4 vector from a single double value by converting it to uint and assigning it to every component.</summary>
214 /// <param name="v">double to convert to uint4</param>
215 [MethodImpl(MethodImplOptions.AggressiveInlining)]
216 public uint4(double v)
217 {
218 this.x = (uint)v;
219 this.y = (uint)v;
220 this.z = (uint)v;
221 this.w = (uint)v;
222 }
223
224 /// <summary>Constructs a uint4 vector from a double4 vector by componentwise conversion.</summary>
225 /// <param name="v">double4 to convert to uint4</param>
226 [MethodImpl(MethodImplOptions.AggressiveInlining)]
227 public uint4(double4 v)
228 {
229 this.x = (uint)v.x;
230 this.y = (uint)v.y;
231 this.z = (uint)v.z;
232 this.w = (uint)v.w;
233 }
234
235
236 /// <summary>Implicitly converts a single uint value to a uint4 vector by assigning it to every component.</summary>
237 /// <param name="v">uint to convert to uint4</param>
238 /// <returns>Converted value.</returns>
239 [MethodImpl(MethodImplOptions.AggressiveInlining)]
240 public static implicit operator uint4(uint v) { return new uint4(v); }
241
242 /// <summary>Explicitly converts a single bool value to a uint4 vector by converting it to uint and assigning it to every component.</summary>
243 /// <param name="v">bool to convert to uint4</param>
244 /// <returns>Converted value.</returns>
245 [MethodImpl(MethodImplOptions.AggressiveInlining)]
246 public static explicit operator uint4(bool v) { return new uint4(v); }
247
248 /// <summary>Explicitly converts a bool4 vector to a uint4 vector by componentwise conversion.</summary>
249 /// <param name="v">bool4 to convert to uint4</param>
250 /// <returns>Converted value.</returns>
251 [MethodImpl(MethodImplOptions.AggressiveInlining)]
252 public static explicit operator uint4(bool4 v) { return new uint4(v); }
253
254 /// <summary>Explicitly converts a single int value to a uint4 vector by converting it to uint and assigning it to every component.</summary>
255 /// <param name="v">int to convert to uint4</param>
256 /// <returns>Converted value.</returns>
257 [MethodImpl(MethodImplOptions.AggressiveInlining)]
258 public static explicit operator uint4(int v) { return new uint4(v); }
259
260 /// <summary>Explicitly converts a int4 vector to a uint4 vector by componentwise conversion.</summary>
261 /// <param name="v">int4 to convert to uint4</param>
262 /// <returns>Converted value.</returns>
263 [MethodImpl(MethodImplOptions.AggressiveInlining)]
264 public static explicit operator uint4(int4 v) { return new uint4(v); }
265
266 /// <summary>Explicitly converts a single float value to a uint4 vector by converting it to uint and assigning it to every component.</summary>
267 /// <param name="v">float to convert to uint4</param>
268 /// <returns>Converted value.</returns>
269 [MethodImpl(MethodImplOptions.AggressiveInlining)]
270 public static explicit operator uint4(float v) { return new uint4(v); }
271
272 /// <summary>Explicitly converts a float4 vector to a uint4 vector by componentwise conversion.</summary>
273 /// <param name="v">float4 to convert to uint4</param>
274 /// <returns>Converted value.</returns>
275 [MethodImpl(MethodImplOptions.AggressiveInlining)]
276 public static explicit operator uint4(float4 v) { return new uint4(v); }
277
278 /// <summary>Explicitly converts a single double value to a uint4 vector by converting it to uint and assigning it to every component.</summary>
279 /// <param name="v">double to convert to uint4</param>
280 /// <returns>Converted value.</returns>
281 [MethodImpl(MethodImplOptions.AggressiveInlining)]
282 public static explicit operator uint4(double v) { return new uint4(v); }
283
284 /// <summary>Explicitly converts a double4 vector to a uint4 vector by componentwise conversion.</summary>
285 /// <param name="v">double4 to convert to uint4</param>
286 /// <returns>Converted value.</returns>
287 [MethodImpl(MethodImplOptions.AggressiveInlining)]
288 public static explicit operator uint4(double4 v) { return new uint4(v); }
289
290
291 /// <summary>Returns the result of a componentwise multiplication operation on two uint4 vectors.</summary>
292 /// <param name="lhs">Left hand side uint4 to use to compute componentwise multiplication.</param>
293 /// <param name="rhs">Right hand side uint4 to use to compute componentwise multiplication.</param>
294 /// <returns>uint4 result of the componentwise multiplication.</returns>
295 [MethodImpl(MethodImplOptions.AggressiveInlining)]
296 public static uint4 operator * (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x * rhs.x, lhs.y * rhs.y, lhs.z * rhs.z, lhs.w * rhs.w); }
297
298 /// <summary>Returns the result of a componentwise multiplication operation on a uint4 vector and a uint value.</summary>
299 /// <param name="lhs">Left hand side uint4 to use to compute componentwise multiplication.</param>
300 /// <param name="rhs">Right hand side uint to use to compute componentwise multiplication.</param>
301 /// <returns>uint4 result of the componentwise multiplication.</returns>
302 [MethodImpl(MethodImplOptions.AggressiveInlining)]
303 public static uint4 operator * (uint4 lhs, uint rhs) { return new uint4 (lhs.x * rhs, lhs.y * rhs, lhs.z * rhs, lhs.w * rhs); }
304
305 /// <summary>Returns the result of a componentwise multiplication operation on a uint value and a uint4 vector.</summary>
306 /// <param name="lhs">Left hand side uint to use to compute componentwise multiplication.</param>
307 /// <param name="rhs">Right hand side uint4 to use to compute componentwise multiplication.</param>
308 /// <returns>uint4 result of the componentwise multiplication.</returns>
309 [MethodImpl(MethodImplOptions.AggressiveInlining)]
310 public static uint4 operator * (uint lhs, uint4 rhs) { return new uint4 (lhs * rhs.x, lhs * rhs.y, lhs * rhs.z, lhs * rhs.w); }
311
312
313 /// <summary>Returns the result of a componentwise addition operation on two uint4 vectors.</summary>
314 /// <param name="lhs">Left hand side uint4 to use to compute componentwise addition.</param>
315 /// <param name="rhs">Right hand side uint4 to use to compute componentwise addition.</param>
316 /// <returns>uint4 result of the componentwise addition.</returns>
317 [MethodImpl(MethodImplOptions.AggressiveInlining)]
318 public static uint4 operator + (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x + rhs.x, lhs.y + rhs.y, lhs.z + rhs.z, lhs.w + rhs.w); }
319
320 /// <summary>Returns the result of a componentwise addition operation on a uint4 vector and a uint value.</summary>
321 /// <param name="lhs">Left hand side uint4 to use to compute componentwise addition.</param>
322 /// <param name="rhs">Right hand side uint to use to compute componentwise addition.</param>
323 /// <returns>uint4 result of the componentwise addition.</returns>
324 [MethodImpl(MethodImplOptions.AggressiveInlining)]
325 public static uint4 operator + (uint4 lhs, uint rhs) { return new uint4 (lhs.x + rhs, lhs.y + rhs, lhs.z + rhs, lhs.w + rhs); }
326
327 /// <summary>Returns the result of a componentwise addition operation on a uint value and a uint4 vector.</summary>
328 /// <param name="lhs">Left hand side uint to use to compute componentwise addition.</param>
329 /// <param name="rhs">Right hand side uint4 to use to compute componentwise addition.</param>
330 /// <returns>uint4 result of the componentwise addition.</returns>
331 [MethodImpl(MethodImplOptions.AggressiveInlining)]
332 public static uint4 operator + (uint lhs, uint4 rhs) { return new uint4 (lhs + rhs.x, lhs + rhs.y, lhs + rhs.z, lhs + rhs.w); }
333
334
335 /// <summary>Returns the result of a componentwise subtraction operation on two uint4 vectors.</summary>
336 /// <param name="lhs">Left hand side uint4 to use to compute componentwise subtraction.</param>
337 /// <param name="rhs">Right hand side uint4 to use to compute componentwise subtraction.</param>
338 /// <returns>uint4 result of the componentwise subtraction.</returns>
339 [MethodImpl(MethodImplOptions.AggressiveInlining)]
340 public static uint4 operator - (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x - rhs.x, lhs.y - rhs.y, lhs.z - rhs.z, lhs.w - rhs.w); }
341
342 /// <summary>Returns the result of a componentwise subtraction operation on a uint4 vector and a uint value.</summary>
343 /// <param name="lhs">Left hand side uint4 to use to compute componentwise subtraction.</param>
344 /// <param name="rhs">Right hand side uint to use to compute componentwise subtraction.</param>
345 /// <returns>uint4 result of the componentwise subtraction.</returns>
346 [MethodImpl(MethodImplOptions.AggressiveInlining)]
347 public static uint4 operator - (uint4 lhs, uint rhs) { return new uint4 (lhs.x - rhs, lhs.y - rhs, lhs.z - rhs, lhs.w - rhs); }
348
349 /// <summary>Returns the result of a componentwise subtraction operation on a uint value and a uint4 vector.</summary>
350 /// <param name="lhs">Left hand side uint to use to compute componentwise subtraction.</param>
351 /// <param name="rhs">Right hand side uint4 to use to compute componentwise subtraction.</param>
352 /// <returns>uint4 result of the componentwise subtraction.</returns>
353 [MethodImpl(MethodImplOptions.AggressiveInlining)]
354 public static uint4 operator - (uint lhs, uint4 rhs) { return new uint4 (lhs - rhs.x, lhs - rhs.y, lhs - rhs.z, lhs - rhs.w); }
355
356
357 /// <summary>Returns the result of a componentwise division operation on two uint4 vectors.</summary>
358 /// <param name="lhs">Left hand side uint4 to use to compute componentwise division.</param>
359 /// <param name="rhs">Right hand side uint4 to use to compute componentwise division.</param>
360 /// <returns>uint4 result of the componentwise division.</returns>
361 [MethodImpl(MethodImplOptions.AggressiveInlining)]
362 public static uint4 operator / (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x / rhs.x, lhs.y / rhs.y, lhs.z / rhs.z, lhs.w / rhs.w); }
363
364 /// <summary>Returns the result of a componentwise division operation on a uint4 vector and a uint value.</summary>
365 /// <param name="lhs">Left hand side uint4 to use to compute componentwise division.</param>
366 /// <param name="rhs">Right hand side uint to use to compute componentwise division.</param>
367 /// <returns>uint4 result of the componentwise division.</returns>
368 [MethodImpl(MethodImplOptions.AggressiveInlining)]
369 public static uint4 operator / (uint4 lhs, uint rhs) { return new uint4 (lhs.x / rhs, lhs.y / rhs, lhs.z / rhs, lhs.w / rhs); }
370
371 /// <summary>Returns the result of a componentwise division operation on a uint value and a uint4 vector.</summary>
372 /// <param name="lhs">Left hand side uint to use to compute componentwise division.</param>
373 /// <param name="rhs">Right hand side uint4 to use to compute componentwise division.</param>
374 /// <returns>uint4 result of the componentwise division.</returns>
375 [MethodImpl(MethodImplOptions.AggressiveInlining)]
376 public static uint4 operator / (uint lhs, uint4 rhs) { return new uint4 (lhs / rhs.x, lhs / rhs.y, lhs / rhs.z, lhs / rhs.w); }
377
378
379 /// <summary>Returns the result of a componentwise modulus operation on two uint4 vectors.</summary>
380 /// <param name="lhs">Left hand side uint4 to use to compute componentwise modulus.</param>
381 /// <param name="rhs">Right hand side uint4 to use to compute componentwise modulus.</param>
382 /// <returns>uint4 result of the componentwise modulus.</returns>
383 [MethodImpl(MethodImplOptions.AggressiveInlining)]
384 public static uint4 operator % (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x % rhs.x, lhs.y % rhs.y, lhs.z % rhs.z, lhs.w % rhs.w); }
385
386 /// <summary>Returns the result of a componentwise modulus operation on a uint4 vector and a uint value.</summary>
387 /// <param name="lhs">Left hand side uint4 to use to compute componentwise modulus.</param>
388 /// <param name="rhs">Right hand side uint to use to compute componentwise modulus.</param>
389 /// <returns>uint4 result of the componentwise modulus.</returns>
390 [MethodImpl(MethodImplOptions.AggressiveInlining)]
391 public static uint4 operator % (uint4 lhs, uint rhs) { return new uint4 (lhs.x % rhs, lhs.y % rhs, lhs.z % rhs, lhs.w % rhs); }
392
393 /// <summary>Returns the result of a componentwise modulus operation on a uint value and a uint4 vector.</summary>
394 /// <param name="lhs">Left hand side uint to use to compute componentwise modulus.</param>
395 /// <param name="rhs">Right hand side uint4 to use to compute componentwise modulus.</param>
396 /// <returns>uint4 result of the componentwise modulus.</returns>
397 [MethodImpl(MethodImplOptions.AggressiveInlining)]
398 public static uint4 operator % (uint lhs, uint4 rhs) { return new uint4 (lhs % rhs.x, lhs % rhs.y, lhs % rhs.z, lhs % rhs.w); }
399
400
401 /// <summary>Returns the result of a componentwise increment operation on a uint4 vector.</summary>
402 /// <param name="val">Value to use when computing the componentwise increment.</param>
403 /// <returns>uint4 result of the componentwise increment.</returns>
404 [MethodImpl(MethodImplOptions.AggressiveInlining)]
405 public static uint4 operator ++ (uint4 val) { return new uint4 (++val.x, ++val.y, ++val.z, ++val.w); }
406
407
408 /// <summary>Returns the result of a componentwise decrement operation on a uint4 vector.</summary>
409 /// <param name="val">Value to use when computing the componentwise decrement.</param>
410 /// <returns>uint4 result of the componentwise decrement.</returns>
411 [MethodImpl(MethodImplOptions.AggressiveInlining)]
412 public static uint4 operator -- (uint4 val) { return new uint4 (--val.x, --val.y, --val.z, --val.w); }
413
414
415 /// <summary>Returns the result of a componentwise less than operation on two uint4 vectors.</summary>
416 /// <param name="lhs">Left hand side uint4 to use to compute componentwise less than.</param>
417 /// <param name="rhs">Right hand side uint4 to use to compute componentwise less than.</param>
418 /// <returns>bool4 result of the componentwise less than.</returns>
419 [MethodImpl(MethodImplOptions.AggressiveInlining)]
420 public static bool4 operator < (uint4 lhs, uint4 rhs) { return new bool4 (lhs.x < rhs.x, lhs.y < rhs.y, lhs.z < rhs.z, lhs.w < rhs.w); }
421
422 /// <summary>Returns the result of a componentwise less than operation on a uint4 vector and a uint value.</summary>
423 /// <param name="lhs">Left hand side uint4 to use to compute componentwise less than.</param>
424 /// <param name="rhs">Right hand side uint to use to compute componentwise less than.</param>
425 /// <returns>bool4 result of the componentwise less than.</returns>
426 [MethodImpl(MethodImplOptions.AggressiveInlining)]
427 public static bool4 operator < (uint4 lhs, uint rhs) { return new bool4 (lhs.x < rhs, lhs.y < rhs, lhs.z < rhs, lhs.w < rhs); }
428
429 /// <summary>Returns the result of a componentwise less than operation on a uint value and a uint4 vector.</summary>
430 /// <param name="lhs">Left hand side uint to use to compute componentwise less than.</param>
431 /// <param name="rhs">Right hand side uint4 to use to compute componentwise less than.</param>
432 /// <returns>bool4 result of the componentwise less than.</returns>
433 [MethodImpl(MethodImplOptions.AggressiveInlining)]
434 public static bool4 operator < (uint lhs, uint4 rhs) { return new bool4 (lhs < rhs.x, lhs < rhs.y, lhs < rhs.z, lhs < rhs.w); }
435
436
437 /// <summary>Returns the result of a componentwise less or equal operation on two uint4 vectors.</summary>
438 /// <param name="lhs">Left hand side uint4 to use to compute componentwise less or equal.</param>
439 /// <param name="rhs">Right hand side uint4 to use to compute componentwise less or equal.</param>
440 /// <returns>bool4 result of the componentwise less or equal.</returns>
441 [MethodImpl(MethodImplOptions.AggressiveInlining)]
442 public static bool4 operator <= (uint4 lhs, uint4 rhs) { return new bool4 (lhs.x <= rhs.x, lhs.y <= rhs.y, lhs.z <= rhs.z, lhs.w <= rhs.w); }
443
444 /// <summary>Returns the result of a componentwise less or equal operation on a uint4 vector and a uint value.</summary>
445 /// <param name="lhs">Left hand side uint4 to use to compute componentwise less or equal.</param>
446 /// <param name="rhs">Right hand side uint to use to compute componentwise less or equal.</param>
447 /// <returns>bool4 result of the componentwise less or equal.</returns>
448 [MethodImpl(MethodImplOptions.AggressiveInlining)]
449 public static bool4 operator <= (uint4 lhs, uint rhs) { return new bool4 (lhs.x <= rhs, lhs.y <= rhs, lhs.z <= rhs, lhs.w <= rhs); }
450
451 /// <summary>Returns the result of a componentwise less or equal operation on a uint value and a uint4 vector.</summary>
452 /// <param name="lhs">Left hand side uint to use to compute componentwise less or equal.</param>
453 /// <param name="rhs">Right hand side uint4 to use to compute componentwise less or equal.</param>
454 /// <returns>bool4 result of the componentwise less or equal.</returns>
455 [MethodImpl(MethodImplOptions.AggressiveInlining)]
456 public static bool4 operator <= (uint lhs, uint4 rhs) { return new bool4 (lhs <= rhs.x, lhs <= rhs.y, lhs <= rhs.z, lhs <= rhs.w); }
457
458
459 /// <summary>Returns the result of a componentwise greater than operation on two uint4 vectors.</summary>
460 /// <param name="lhs">Left hand side uint4 to use to compute componentwise greater than.</param>
461 /// <param name="rhs">Right hand side uint4 to use to compute componentwise greater than.</param>
462 /// <returns>bool4 result of the componentwise greater than.</returns>
463 [MethodImpl(MethodImplOptions.AggressiveInlining)]
464 public static bool4 operator > (uint4 lhs, uint4 rhs) { return new bool4 (lhs.x > rhs.x, lhs.y > rhs.y, lhs.z > rhs.z, lhs.w > rhs.w); }
465
466 /// <summary>Returns the result of a componentwise greater than operation on a uint4 vector and a uint value.</summary>
467 /// <param name="lhs">Left hand side uint4 to use to compute componentwise greater than.</param>
468 /// <param name="rhs">Right hand side uint to use to compute componentwise greater than.</param>
469 /// <returns>bool4 result of the componentwise greater than.</returns>
470 [MethodImpl(MethodImplOptions.AggressiveInlining)]
471 public static bool4 operator > (uint4 lhs, uint rhs) { return new bool4 (lhs.x > rhs, lhs.y > rhs, lhs.z > rhs, lhs.w > rhs); }
472
473 /// <summary>Returns the result of a componentwise greater than operation on a uint value and a uint4 vector.</summary>
474 /// <param name="lhs">Left hand side uint to use to compute componentwise greater than.</param>
475 /// <param name="rhs">Right hand side uint4 to use to compute componentwise greater than.</param>
476 /// <returns>bool4 result of the componentwise greater than.</returns>
477 [MethodImpl(MethodImplOptions.AggressiveInlining)]
478 public static bool4 operator > (uint lhs, uint4 rhs) { return new bool4 (lhs > rhs.x, lhs > rhs.y, lhs > rhs.z, lhs > rhs.w); }
479
480
481 /// <summary>Returns the result of a componentwise greater or equal operation on two uint4 vectors.</summary>
482 /// <param name="lhs">Left hand side uint4 to use to compute componentwise greater or equal.</param>
483 /// <param name="rhs">Right hand side uint4 to use to compute componentwise greater or equal.</param>
484 /// <returns>bool4 result of the componentwise greater or equal.</returns>
485 [MethodImpl(MethodImplOptions.AggressiveInlining)]
486 public static bool4 operator >= (uint4 lhs, uint4 rhs) { return new bool4 (lhs.x >= rhs.x, lhs.y >= rhs.y, lhs.z >= rhs.z, lhs.w >= rhs.w); }
487
488 /// <summary>Returns the result of a componentwise greater or equal operation on a uint4 vector and a uint value.</summary>
489 /// <param name="lhs">Left hand side uint4 to use to compute componentwise greater or equal.</param>
490 /// <param name="rhs">Right hand side uint to use to compute componentwise greater or equal.</param>
491 /// <returns>bool4 result of the componentwise greater or equal.</returns>
492 [MethodImpl(MethodImplOptions.AggressiveInlining)]
493 public static bool4 operator >= (uint4 lhs, uint rhs) { return new bool4 (lhs.x >= rhs, lhs.y >= rhs, lhs.z >= rhs, lhs.w >= rhs); }
494
495 /// <summary>Returns the result of a componentwise greater or equal operation on a uint value and a uint4 vector.</summary>
496 /// <param name="lhs">Left hand side uint to use to compute componentwise greater or equal.</param>
497 /// <param name="rhs">Right hand side uint4 to use to compute componentwise greater or equal.</param>
498 /// <returns>bool4 result of the componentwise greater or equal.</returns>
499 [MethodImpl(MethodImplOptions.AggressiveInlining)]
500 public static bool4 operator >= (uint lhs, uint4 rhs) { return new bool4 (lhs >= rhs.x, lhs >= rhs.y, lhs >= rhs.z, lhs >= rhs.w); }
501
502
503 /// <summary>Returns the result of a componentwise unary minus operation on a uint4 vector.</summary>
504 /// <param name="val">Value to use when computing the componentwise unary minus.</param>
505 /// <returns>uint4 result of the componentwise unary minus.</returns>
506 [MethodImpl(MethodImplOptions.AggressiveInlining)]
507 public static uint4 operator - (uint4 val) { return new uint4 ((uint)-val.x, (uint)-val.y, (uint)-val.z, (uint)-val.w); }
508
509
510 /// <summary>Returns the result of a componentwise unary plus operation on a uint4 vector.</summary>
511 /// <param name="val">Value to use when computing the componentwise unary plus.</param>
512 /// <returns>uint4 result of the componentwise unary plus.</returns>
513 [MethodImpl(MethodImplOptions.AggressiveInlining)]
514 public static uint4 operator + (uint4 val) { return new uint4 (+val.x, +val.y, +val.z, +val.w); }
515
516
517 /// <summary>Returns the result of a componentwise left shift operation on a uint4 vector by a number of bits specified by a single int.</summary>
518 /// <param name="x">The vector to left shift.</param>
519 /// <param name="n">The number of bits to left shift.</param>
520 /// <returns>The result of the componentwise left shift.</returns>
521 [MethodImpl(MethodImplOptions.AggressiveInlining)]
522 public static uint4 operator << (uint4 x, int n) { return new uint4 (x.x << n, x.y << n, x.z << n, x.w << n); }
523
524 /// <summary>Returns the result of a componentwise right shift operation on a uint4 vector by a number of bits specified by a single int.</summary>
525 /// <param name="x">The vector to right shift.</param>
526 /// <param name="n">The number of bits to right shift.</param>
527 /// <returns>The result of the componentwise right shift.</returns>
528 [MethodImpl(MethodImplOptions.AggressiveInlining)]
529 public static uint4 operator >> (uint4 x, int n) { return new uint4 (x.x >> n, x.y >> n, x.z >> n, x.w >> n); }
530
531 /// <summary>Returns the result of a componentwise equality operation on two uint4 vectors.</summary>
532 /// <param name="lhs">Left hand side uint4 to use to compute componentwise equality.</param>
533 /// <param name="rhs">Right hand side uint4 to use to compute componentwise equality.</param>
534 /// <returns>bool4 result of the componentwise equality.</returns>
535 [MethodImpl(MethodImplOptions.AggressiveInlining)]
536 public static bool4 operator == (uint4 lhs, uint4 rhs) { return new bool4 (lhs.x == rhs.x, lhs.y == rhs.y, lhs.z == rhs.z, lhs.w == rhs.w); }
537
538 /// <summary>Returns the result of a componentwise equality operation on a uint4 vector and a uint value.</summary>
539 /// <param name="lhs">Left hand side uint4 to use to compute componentwise equality.</param>
540 /// <param name="rhs">Right hand side uint to use to compute componentwise equality.</param>
541 /// <returns>bool4 result of the componentwise equality.</returns>
542 [MethodImpl(MethodImplOptions.AggressiveInlining)]
543 public static bool4 operator == (uint4 lhs, uint rhs) { return new bool4 (lhs.x == rhs, lhs.y == rhs, lhs.z == rhs, lhs.w == rhs); }
544
545 /// <summary>Returns the result of a componentwise equality operation on a uint value and a uint4 vector.</summary>
546 /// <param name="lhs">Left hand side uint to use to compute componentwise equality.</param>
547 /// <param name="rhs">Right hand side uint4 to use to compute componentwise equality.</param>
548 /// <returns>bool4 result of the componentwise equality.</returns>
549 [MethodImpl(MethodImplOptions.AggressiveInlining)]
550 public static bool4 operator == (uint lhs, uint4 rhs) { return new bool4 (lhs == rhs.x, lhs == rhs.y, lhs == rhs.z, lhs == rhs.w); }
551
552
553 /// <summary>Returns the result of a componentwise not equal operation on two uint4 vectors.</summary>
554 /// <param name="lhs">Left hand side uint4 to use to compute componentwise not equal.</param>
555 /// <param name="rhs">Right hand side uint4 to use to compute componentwise not equal.</param>
556 /// <returns>bool4 result of the componentwise not equal.</returns>
557 [MethodImpl(MethodImplOptions.AggressiveInlining)]
558 public static bool4 operator != (uint4 lhs, uint4 rhs) { return new bool4 (lhs.x != rhs.x, lhs.y != rhs.y, lhs.z != rhs.z, lhs.w != rhs.w); }
559
560 /// <summary>Returns the result of a componentwise not equal operation on a uint4 vector and a uint value.</summary>
561 /// <param name="lhs">Left hand side uint4 to use to compute componentwise not equal.</param>
562 /// <param name="rhs">Right hand side uint to use to compute componentwise not equal.</param>
563 /// <returns>bool4 result of the componentwise not equal.</returns>
564 [MethodImpl(MethodImplOptions.AggressiveInlining)]
565 public static bool4 operator != (uint4 lhs, uint rhs) { return new bool4 (lhs.x != rhs, lhs.y != rhs, lhs.z != rhs, lhs.w != rhs); }
566
567 /// <summary>Returns the result of a componentwise not equal operation on a uint value and a uint4 vector.</summary>
568 /// <param name="lhs">Left hand side uint to use to compute componentwise not equal.</param>
569 /// <param name="rhs">Right hand side uint4 to use to compute componentwise not equal.</param>
570 /// <returns>bool4 result of the componentwise not equal.</returns>
571 [MethodImpl(MethodImplOptions.AggressiveInlining)]
572 public static bool4 operator != (uint lhs, uint4 rhs) { return new bool4 (lhs != rhs.x, lhs != rhs.y, lhs != rhs.z, lhs != rhs.w); }
573
574
575 /// <summary>Returns the result of a componentwise bitwise not operation on a uint4 vector.</summary>
576 /// <param name="val">Value to use when computing the componentwise bitwise not.</param>
577 /// <returns>uint4 result of the componentwise bitwise not.</returns>
578 [MethodImpl(MethodImplOptions.AggressiveInlining)]
579 public static uint4 operator ~ (uint4 val) { return new uint4 (~val.x, ~val.y, ~val.z, ~val.w); }
580
581
582 /// <summary>Returns the result of a componentwise bitwise and operation on two uint4 vectors.</summary>
583 /// <param name="lhs">Left hand side uint4 to use to compute componentwise bitwise and.</param>
584 /// <param name="rhs">Right hand side uint4 to use to compute componentwise bitwise and.</param>
585 /// <returns>uint4 result of the componentwise bitwise and.</returns>
586 [MethodImpl(MethodImplOptions.AggressiveInlining)]
587 public static uint4 operator & (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x & rhs.x, lhs.y & rhs.y, lhs.z & rhs.z, lhs.w & rhs.w); }
588
589 /// <summary>Returns the result of a componentwise bitwise and operation on a uint4 vector and a uint value.</summary>
590 /// <param name="lhs">Left hand side uint4 to use to compute componentwise bitwise and.</param>
591 /// <param name="rhs">Right hand side uint to use to compute componentwise bitwise and.</param>
592 /// <returns>uint4 result of the componentwise bitwise and.</returns>
593 [MethodImpl(MethodImplOptions.AggressiveInlining)]
594 public static uint4 operator & (uint4 lhs, uint rhs) { return new uint4 (lhs.x & rhs, lhs.y & rhs, lhs.z & rhs, lhs.w & rhs); }
595
596 /// <summary>Returns the result of a componentwise bitwise and operation on a uint value and a uint4 vector.</summary>
597 /// <param name="lhs">Left hand side uint to use to compute componentwise bitwise and.</param>
598 /// <param name="rhs">Right hand side uint4 to use to compute componentwise bitwise and.</param>
599 /// <returns>uint4 result of the componentwise bitwise and.</returns>
600 [MethodImpl(MethodImplOptions.AggressiveInlining)]
601 public static uint4 operator & (uint lhs, uint4 rhs) { return new uint4 (lhs & rhs.x, lhs & rhs.y, lhs & rhs.z, lhs & rhs.w); }
602
603
604 /// <summary>Returns the result of a componentwise bitwise or operation on two uint4 vectors.</summary>
605 /// <param name="lhs">Left hand side uint4 to use to compute componentwise bitwise or.</param>
606 /// <param name="rhs">Right hand side uint4 to use to compute componentwise bitwise or.</param>
607 /// <returns>uint4 result of the componentwise bitwise or.</returns>
608 [MethodImpl(MethodImplOptions.AggressiveInlining)]
609 public static uint4 operator | (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x | rhs.x, lhs.y | rhs.y, lhs.z | rhs.z, lhs.w | rhs.w); }
610
611 /// <summary>Returns the result of a componentwise bitwise or operation on a uint4 vector and a uint value.</summary>
612 /// <param name="lhs">Left hand side uint4 to use to compute componentwise bitwise or.</param>
613 /// <param name="rhs">Right hand side uint to use to compute componentwise bitwise or.</param>
614 /// <returns>uint4 result of the componentwise bitwise or.</returns>
615 [MethodImpl(MethodImplOptions.AggressiveInlining)]
616 public static uint4 operator | (uint4 lhs, uint rhs) { return new uint4 (lhs.x | rhs, lhs.y | rhs, lhs.z | rhs, lhs.w | rhs); }
617
618 /// <summary>Returns the result of a componentwise bitwise or operation on a uint value and a uint4 vector.</summary>
619 /// <param name="lhs">Left hand side uint to use to compute componentwise bitwise or.</param>
620 /// <param name="rhs">Right hand side uint4 to use to compute componentwise bitwise or.</param>
621 /// <returns>uint4 result of the componentwise bitwise or.</returns>
622 [MethodImpl(MethodImplOptions.AggressiveInlining)]
623 public static uint4 operator | (uint lhs, uint4 rhs) { return new uint4 (lhs | rhs.x, lhs | rhs.y, lhs | rhs.z, lhs | rhs.w); }
624
625
626 /// <summary>Returns the result of a componentwise bitwise exclusive or operation on two uint4 vectors.</summary>
627 /// <param name="lhs">Left hand side uint4 to use to compute componentwise bitwise exclusive or.</param>
628 /// <param name="rhs">Right hand side uint4 to use to compute componentwise bitwise exclusive or.</param>
629 /// <returns>uint4 result of the componentwise bitwise exclusive or.</returns>
630 [MethodImpl(MethodImplOptions.AggressiveInlining)]
631 public static uint4 operator ^ (uint4 lhs, uint4 rhs) { return new uint4 (lhs.x ^ rhs.x, lhs.y ^ rhs.y, lhs.z ^ rhs.z, lhs.w ^ rhs.w); }
632
633 /// <summary>Returns the result of a componentwise bitwise exclusive or operation on a uint4 vector and a uint value.</summary>
634 /// <param name="lhs">Left hand side uint4 to use to compute componentwise bitwise exclusive or.</param>
635 /// <param name="rhs">Right hand side uint to use to compute componentwise bitwise exclusive or.</param>
636 /// <returns>uint4 result of the componentwise bitwise exclusive or.</returns>
637 [MethodImpl(MethodImplOptions.AggressiveInlining)]
638 public static uint4 operator ^ (uint4 lhs, uint rhs) { return new uint4 (lhs.x ^ rhs, lhs.y ^ rhs, lhs.z ^ rhs, lhs.w ^ rhs); }
639
640 /// <summary>Returns the result of a componentwise bitwise exclusive or operation on a uint value and a uint4 vector.</summary>
641 /// <param name="lhs">Left hand side uint to use to compute componentwise bitwise exclusive or.</param>
642 /// <param name="rhs">Right hand side uint4 to use to compute componentwise bitwise exclusive or.</param>
643 /// <returns>uint4 result of the componentwise bitwise exclusive or.</returns>
644 [MethodImpl(MethodImplOptions.AggressiveInlining)]
645 public static uint4 operator ^ (uint lhs, uint4 rhs) { return new uint4 (lhs ^ rhs.x, lhs ^ rhs.y, lhs ^ rhs.z, lhs ^ rhs.w); }
646
647
648
649
650 /// <summary>Swizzles the vector.</summary>
651 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
652 public uint4 xxxx
653 {
654 [MethodImpl(MethodImplOptions.AggressiveInlining)]
655 get { return new uint4(x, x, x, x); }
656 }
657
658
659 /// <summary>Swizzles the vector.</summary>
660 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
661 public uint4 xxxy
662 {
663 [MethodImpl(MethodImplOptions.AggressiveInlining)]
664 get { return new uint4(x, x, x, y); }
665 }
666
667
668 /// <summary>Swizzles the vector.</summary>
669 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
670 public uint4 xxxz
671 {
672 [MethodImpl(MethodImplOptions.AggressiveInlining)]
673 get { return new uint4(x, x, x, z); }
674 }
675
676
677 /// <summary>Swizzles the vector.</summary>
678 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
679 public uint4 xxxw
680 {
681 [MethodImpl(MethodImplOptions.AggressiveInlining)]
682 get { return new uint4(x, x, x, w); }
683 }
684
685
686 /// <summary>Swizzles the vector.</summary>
687 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
688 public uint4 xxyx
689 {
690 [MethodImpl(MethodImplOptions.AggressiveInlining)]
691 get { return new uint4(x, x, y, x); }
692 }
693
694
695 /// <summary>Swizzles the vector.</summary>
696 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
697 public uint4 xxyy
698 {
699 [MethodImpl(MethodImplOptions.AggressiveInlining)]
700 get { return new uint4(x, x, y, y); }
701 }
702
703
704 /// <summary>Swizzles the vector.</summary>
705 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
706 public uint4 xxyz
707 {
708 [MethodImpl(MethodImplOptions.AggressiveInlining)]
709 get { return new uint4(x, x, y, z); }
710 }
711
712
713 /// <summary>Swizzles the vector.</summary>
714 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
715 public uint4 xxyw
716 {
717 [MethodImpl(MethodImplOptions.AggressiveInlining)]
718 get { return new uint4(x, x, y, w); }
719 }
720
721
722 /// <summary>Swizzles the vector.</summary>
723 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
724 public uint4 xxzx
725 {
726 [MethodImpl(MethodImplOptions.AggressiveInlining)]
727 get { return new uint4(x, x, z, x); }
728 }
729
730
731 /// <summary>Swizzles the vector.</summary>
732 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
733 public uint4 xxzy
734 {
735 [MethodImpl(MethodImplOptions.AggressiveInlining)]
736 get { return new uint4(x, x, z, y); }
737 }
738
739
740 /// <summary>Swizzles the vector.</summary>
741 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
742 public uint4 xxzz
743 {
744 [MethodImpl(MethodImplOptions.AggressiveInlining)]
745 get { return new uint4(x, x, z, z); }
746 }
747
748
749 /// <summary>Swizzles the vector.</summary>
750 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
751 public uint4 xxzw
752 {
753 [MethodImpl(MethodImplOptions.AggressiveInlining)]
754 get { return new uint4(x, x, z, w); }
755 }
756
757
758 /// <summary>Swizzles the vector.</summary>
759 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
760 public uint4 xxwx
761 {
762 [MethodImpl(MethodImplOptions.AggressiveInlining)]
763 get { return new uint4(x, x, w, x); }
764 }
765
766
767 /// <summary>Swizzles the vector.</summary>
768 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
769 public uint4 xxwy
770 {
771 [MethodImpl(MethodImplOptions.AggressiveInlining)]
772 get { return new uint4(x, x, w, y); }
773 }
774
775
776 /// <summary>Swizzles the vector.</summary>
777 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
778 public uint4 xxwz
779 {
780 [MethodImpl(MethodImplOptions.AggressiveInlining)]
781 get { return new uint4(x, x, w, z); }
782 }
783
784
785 /// <summary>Swizzles the vector.</summary>
786 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
787 public uint4 xxww
788 {
789 [MethodImpl(MethodImplOptions.AggressiveInlining)]
790 get { return new uint4(x, x, w, w); }
791 }
792
793
794 /// <summary>Swizzles the vector.</summary>
795 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
796 public uint4 xyxx
797 {
798 [MethodImpl(MethodImplOptions.AggressiveInlining)]
799 get { return new uint4(x, y, x, x); }
800 }
801
802
803 /// <summary>Swizzles the vector.</summary>
804 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
805 public uint4 xyxy
806 {
807 [MethodImpl(MethodImplOptions.AggressiveInlining)]
808 get { return new uint4(x, y, x, y); }
809 }
810
811
812 /// <summary>Swizzles the vector.</summary>
813 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
814 public uint4 xyxz
815 {
816 [MethodImpl(MethodImplOptions.AggressiveInlining)]
817 get { return new uint4(x, y, x, z); }
818 }
819
820
821 /// <summary>Swizzles the vector.</summary>
822 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
823 public uint4 xyxw
824 {
825 [MethodImpl(MethodImplOptions.AggressiveInlining)]
826 get { return new uint4(x, y, x, w); }
827 }
828
829
830 /// <summary>Swizzles the vector.</summary>
831 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
832 public uint4 xyyx
833 {
834 [MethodImpl(MethodImplOptions.AggressiveInlining)]
835 get { return new uint4(x, y, y, x); }
836 }
837
838
839 /// <summary>Swizzles the vector.</summary>
840 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
841 public uint4 xyyy
842 {
843 [MethodImpl(MethodImplOptions.AggressiveInlining)]
844 get { return new uint4(x, y, y, y); }
845 }
846
847
848 /// <summary>Swizzles the vector.</summary>
849 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
850 public uint4 xyyz
851 {
852 [MethodImpl(MethodImplOptions.AggressiveInlining)]
853 get { return new uint4(x, y, y, z); }
854 }
855
856
857 /// <summary>Swizzles the vector.</summary>
858 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
859 public uint4 xyyw
860 {
861 [MethodImpl(MethodImplOptions.AggressiveInlining)]
862 get { return new uint4(x, y, y, w); }
863 }
864
865
866 /// <summary>Swizzles the vector.</summary>
867 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
868 public uint4 xyzx
869 {
870 [MethodImpl(MethodImplOptions.AggressiveInlining)]
871 get { return new uint4(x, y, z, x); }
872 }
873
874
875 /// <summary>Swizzles the vector.</summary>
876 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
877 public uint4 xyzy
878 {
879 [MethodImpl(MethodImplOptions.AggressiveInlining)]
880 get { return new uint4(x, y, z, y); }
881 }
882
883
884 /// <summary>Swizzles the vector.</summary>
885 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
886 public uint4 xyzz
887 {
888 [MethodImpl(MethodImplOptions.AggressiveInlining)]
889 get { return new uint4(x, y, z, z); }
890 }
891
892
893 /// <summary>Swizzles the vector.</summary>
894 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
895 public uint4 xyzw
896 {
897 [MethodImpl(MethodImplOptions.AggressiveInlining)]
898 get { return new uint4(x, y, z, w); }
899 [MethodImpl(MethodImplOptions.AggressiveInlining)]
900 set { x = value.x; y = value.y; z = value.z; w = value.w; }
901 }
902
903
904 /// <summary>Swizzles the vector.</summary>
905 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
906 public uint4 xywx
907 {
908 [MethodImpl(MethodImplOptions.AggressiveInlining)]
909 get { return new uint4(x, y, w, x); }
910 }
911
912
913 /// <summary>Swizzles the vector.</summary>
914 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
915 public uint4 xywy
916 {
917 [MethodImpl(MethodImplOptions.AggressiveInlining)]
918 get { return new uint4(x, y, w, y); }
919 }
920
921
922 /// <summary>Swizzles the vector.</summary>
923 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
924 public uint4 xywz
925 {
926 [MethodImpl(MethodImplOptions.AggressiveInlining)]
927 get { return new uint4(x, y, w, z); }
928 [MethodImpl(MethodImplOptions.AggressiveInlining)]
929 set { x = value.x; y = value.y; w = value.z; z = value.w; }
930 }
931
932
933 /// <summary>Swizzles the vector.</summary>
934 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
935 public uint4 xyww
936 {
937 [MethodImpl(MethodImplOptions.AggressiveInlining)]
938 get { return new uint4(x, y, w, w); }
939 }
940
941
942 /// <summary>Swizzles the vector.</summary>
943 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
944 public uint4 xzxx
945 {
946 [MethodImpl(MethodImplOptions.AggressiveInlining)]
947 get { return new uint4(x, z, x, x); }
948 }
949
950
951 /// <summary>Swizzles the vector.</summary>
952 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
953 public uint4 xzxy
954 {
955 [MethodImpl(MethodImplOptions.AggressiveInlining)]
956 get { return new uint4(x, z, x, y); }
957 }
958
959
960 /// <summary>Swizzles the vector.</summary>
961 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
962 public uint4 xzxz
963 {
964 [MethodImpl(MethodImplOptions.AggressiveInlining)]
965 get { return new uint4(x, z, x, z); }
966 }
967
968
969 /// <summary>Swizzles the vector.</summary>
970 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
971 public uint4 xzxw
972 {
973 [MethodImpl(MethodImplOptions.AggressiveInlining)]
974 get { return new uint4(x, z, x, w); }
975 }
976
977
978 /// <summary>Swizzles the vector.</summary>
979 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
980 public uint4 xzyx
981 {
982 [MethodImpl(MethodImplOptions.AggressiveInlining)]
983 get { return new uint4(x, z, y, x); }
984 }
985
986
987 /// <summary>Swizzles the vector.</summary>
988 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
989 public uint4 xzyy
990 {
991 [MethodImpl(MethodImplOptions.AggressiveInlining)]
992 get { return new uint4(x, z, y, y); }
993 }
994
995
996 /// <summary>Swizzles the vector.</summary>
997 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
998 public uint4 xzyz
999 {
1000 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1001 get { return new uint4(x, z, y, z); }
1002 }
1003
1004
1005 /// <summary>Swizzles the vector.</summary>
1006 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1007 public uint4 xzyw
1008 {
1009 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1010 get { return new uint4(x, z, y, w); }
1011 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1012 set { x = value.x; z = value.y; y = value.z; w = value.w; }
1013 }
1014
1015
1016 /// <summary>Swizzles the vector.</summary>
1017 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1018 public uint4 xzzx
1019 {
1020 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1021 get { return new uint4(x, z, z, x); }
1022 }
1023
1024
1025 /// <summary>Swizzles the vector.</summary>
1026 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1027 public uint4 xzzy
1028 {
1029 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1030 get { return new uint4(x, z, z, y); }
1031 }
1032
1033
1034 /// <summary>Swizzles the vector.</summary>
1035 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1036 public uint4 xzzz
1037 {
1038 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1039 get { return new uint4(x, z, z, z); }
1040 }
1041
1042
1043 /// <summary>Swizzles the vector.</summary>
1044 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1045 public uint4 xzzw
1046 {
1047 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1048 get { return new uint4(x, z, z, w); }
1049 }
1050
1051
1052 /// <summary>Swizzles the vector.</summary>
1053 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1054 public uint4 xzwx
1055 {
1056 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1057 get { return new uint4(x, z, w, x); }
1058 }
1059
1060
1061 /// <summary>Swizzles the vector.</summary>
1062 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1063 public uint4 xzwy
1064 {
1065 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1066 get { return new uint4(x, z, w, y); }
1067 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1068 set { x = value.x; z = value.y; w = value.z; y = value.w; }
1069 }
1070
1071
1072 /// <summary>Swizzles the vector.</summary>
1073 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1074 public uint4 xzwz
1075 {
1076 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1077 get { return new uint4(x, z, w, z); }
1078 }
1079
1080
1081 /// <summary>Swizzles the vector.</summary>
1082 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1083 public uint4 xzww
1084 {
1085 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1086 get { return new uint4(x, z, w, w); }
1087 }
1088
1089
1090 /// <summary>Swizzles the vector.</summary>
1091 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1092 public uint4 xwxx
1093 {
1094 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1095 get { return new uint4(x, w, x, x); }
1096 }
1097
1098
1099 /// <summary>Swizzles the vector.</summary>
1100 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1101 public uint4 xwxy
1102 {
1103 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1104 get { return new uint4(x, w, x, y); }
1105 }
1106
1107
1108 /// <summary>Swizzles the vector.</summary>
1109 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1110 public uint4 xwxz
1111 {
1112 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1113 get { return new uint4(x, w, x, z); }
1114 }
1115
1116
1117 /// <summary>Swizzles the vector.</summary>
1118 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1119 public uint4 xwxw
1120 {
1121 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1122 get { return new uint4(x, w, x, w); }
1123 }
1124
1125
1126 /// <summary>Swizzles the vector.</summary>
1127 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1128 public uint4 xwyx
1129 {
1130 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1131 get { return new uint4(x, w, y, x); }
1132 }
1133
1134
1135 /// <summary>Swizzles the vector.</summary>
1136 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1137 public uint4 xwyy
1138 {
1139 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1140 get { return new uint4(x, w, y, y); }
1141 }
1142
1143
1144 /// <summary>Swizzles the vector.</summary>
1145 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1146 public uint4 xwyz
1147 {
1148 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1149 get { return new uint4(x, w, y, z); }
1150 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1151 set { x = value.x; w = value.y; y = value.z; z = value.w; }
1152 }
1153
1154
1155 /// <summary>Swizzles the vector.</summary>
1156 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1157 public uint4 xwyw
1158 {
1159 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1160 get { return new uint4(x, w, y, w); }
1161 }
1162
1163
1164 /// <summary>Swizzles the vector.</summary>
1165 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1166 public uint4 xwzx
1167 {
1168 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1169 get { return new uint4(x, w, z, x); }
1170 }
1171
1172
1173 /// <summary>Swizzles the vector.</summary>
1174 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1175 public uint4 xwzy
1176 {
1177 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1178 get { return new uint4(x, w, z, y); }
1179 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1180 set { x = value.x; w = value.y; z = value.z; y = value.w; }
1181 }
1182
1183
1184 /// <summary>Swizzles the vector.</summary>
1185 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1186 public uint4 xwzz
1187 {
1188 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1189 get { return new uint4(x, w, z, z); }
1190 }
1191
1192
1193 /// <summary>Swizzles the vector.</summary>
1194 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1195 public uint4 xwzw
1196 {
1197 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1198 get { return new uint4(x, w, z, w); }
1199 }
1200
1201
1202 /// <summary>Swizzles the vector.</summary>
1203 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1204 public uint4 xwwx
1205 {
1206 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1207 get { return new uint4(x, w, w, x); }
1208 }
1209
1210
1211 /// <summary>Swizzles the vector.</summary>
1212 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1213 public uint4 xwwy
1214 {
1215 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1216 get { return new uint4(x, w, w, y); }
1217 }
1218
1219
1220 /// <summary>Swizzles the vector.</summary>
1221 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1222 public uint4 xwwz
1223 {
1224 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1225 get { return new uint4(x, w, w, z); }
1226 }
1227
1228
1229 /// <summary>Swizzles the vector.</summary>
1230 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1231 public uint4 xwww
1232 {
1233 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1234 get { return new uint4(x, w, w, w); }
1235 }
1236
1237
1238 /// <summary>Swizzles the vector.</summary>
1239 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1240 public uint4 yxxx
1241 {
1242 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1243 get { return new uint4(y, x, x, x); }
1244 }
1245
1246
1247 /// <summary>Swizzles the vector.</summary>
1248 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1249 public uint4 yxxy
1250 {
1251 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1252 get { return new uint4(y, x, x, y); }
1253 }
1254
1255
1256 /// <summary>Swizzles the vector.</summary>
1257 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1258 public uint4 yxxz
1259 {
1260 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1261 get { return new uint4(y, x, x, z); }
1262 }
1263
1264
1265 /// <summary>Swizzles the vector.</summary>
1266 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1267 public uint4 yxxw
1268 {
1269 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1270 get { return new uint4(y, x, x, w); }
1271 }
1272
1273
1274 /// <summary>Swizzles the vector.</summary>
1275 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1276 public uint4 yxyx
1277 {
1278 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1279 get { return new uint4(y, x, y, x); }
1280 }
1281
1282
1283 /// <summary>Swizzles the vector.</summary>
1284 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1285 public uint4 yxyy
1286 {
1287 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1288 get { return new uint4(y, x, y, y); }
1289 }
1290
1291
1292 /// <summary>Swizzles the vector.</summary>
1293 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1294 public uint4 yxyz
1295 {
1296 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1297 get { return new uint4(y, x, y, z); }
1298 }
1299
1300
1301 /// <summary>Swizzles the vector.</summary>
1302 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1303 public uint4 yxyw
1304 {
1305 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1306 get { return new uint4(y, x, y, w); }
1307 }
1308
1309
1310 /// <summary>Swizzles the vector.</summary>
1311 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1312 public uint4 yxzx
1313 {
1314 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1315 get { return new uint4(y, x, z, x); }
1316 }
1317
1318
1319 /// <summary>Swizzles the vector.</summary>
1320 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1321 public uint4 yxzy
1322 {
1323 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1324 get { return new uint4(y, x, z, y); }
1325 }
1326
1327
1328 /// <summary>Swizzles the vector.</summary>
1329 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1330 public uint4 yxzz
1331 {
1332 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1333 get { return new uint4(y, x, z, z); }
1334 }
1335
1336
1337 /// <summary>Swizzles the vector.</summary>
1338 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1339 public uint4 yxzw
1340 {
1341 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1342 get { return new uint4(y, x, z, w); }
1343 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1344 set { y = value.x; x = value.y; z = value.z; w = value.w; }
1345 }
1346
1347
1348 /// <summary>Swizzles the vector.</summary>
1349 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1350 public uint4 yxwx
1351 {
1352 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1353 get { return new uint4(y, x, w, x); }
1354 }
1355
1356
1357 /// <summary>Swizzles the vector.</summary>
1358 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1359 public uint4 yxwy
1360 {
1361 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1362 get { return new uint4(y, x, w, y); }
1363 }
1364
1365
1366 /// <summary>Swizzles the vector.</summary>
1367 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1368 public uint4 yxwz
1369 {
1370 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1371 get { return new uint4(y, x, w, z); }
1372 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1373 set { y = value.x; x = value.y; w = value.z; z = value.w; }
1374 }
1375
1376
1377 /// <summary>Swizzles the vector.</summary>
1378 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1379 public uint4 yxww
1380 {
1381 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1382 get { return new uint4(y, x, w, w); }
1383 }
1384
1385
1386 /// <summary>Swizzles the vector.</summary>
1387 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1388 public uint4 yyxx
1389 {
1390 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1391 get { return new uint4(y, y, x, x); }
1392 }
1393
1394
1395 /// <summary>Swizzles the vector.</summary>
1396 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1397 public uint4 yyxy
1398 {
1399 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1400 get { return new uint4(y, y, x, y); }
1401 }
1402
1403
1404 /// <summary>Swizzles the vector.</summary>
1405 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1406 public uint4 yyxz
1407 {
1408 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1409 get { return new uint4(y, y, x, z); }
1410 }
1411
1412
1413 /// <summary>Swizzles the vector.</summary>
1414 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1415 public uint4 yyxw
1416 {
1417 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1418 get { return new uint4(y, y, x, w); }
1419 }
1420
1421
1422 /// <summary>Swizzles the vector.</summary>
1423 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1424 public uint4 yyyx
1425 {
1426 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1427 get { return new uint4(y, y, y, x); }
1428 }
1429
1430
1431 /// <summary>Swizzles the vector.</summary>
1432 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1433 public uint4 yyyy
1434 {
1435 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1436 get { return new uint4(y, y, y, y); }
1437 }
1438
1439
1440 /// <summary>Swizzles the vector.</summary>
1441 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1442 public uint4 yyyz
1443 {
1444 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1445 get { return new uint4(y, y, y, z); }
1446 }
1447
1448
1449 /// <summary>Swizzles the vector.</summary>
1450 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1451 public uint4 yyyw
1452 {
1453 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1454 get { return new uint4(y, y, y, w); }
1455 }
1456
1457
1458 /// <summary>Swizzles the vector.</summary>
1459 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1460 public uint4 yyzx
1461 {
1462 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1463 get { return new uint4(y, y, z, x); }
1464 }
1465
1466
1467 /// <summary>Swizzles the vector.</summary>
1468 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1469 public uint4 yyzy
1470 {
1471 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1472 get { return new uint4(y, y, z, y); }
1473 }
1474
1475
1476 /// <summary>Swizzles the vector.</summary>
1477 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1478 public uint4 yyzz
1479 {
1480 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1481 get { return new uint4(y, y, z, z); }
1482 }
1483
1484
1485 /// <summary>Swizzles the vector.</summary>
1486 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1487 public uint4 yyzw
1488 {
1489 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1490 get { return new uint4(y, y, z, w); }
1491 }
1492
1493
1494 /// <summary>Swizzles the vector.</summary>
1495 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1496 public uint4 yywx
1497 {
1498 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1499 get { return new uint4(y, y, w, x); }
1500 }
1501
1502
1503 /// <summary>Swizzles the vector.</summary>
1504 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1505 public uint4 yywy
1506 {
1507 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1508 get { return new uint4(y, y, w, y); }
1509 }
1510
1511
1512 /// <summary>Swizzles the vector.</summary>
1513 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1514 public uint4 yywz
1515 {
1516 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1517 get { return new uint4(y, y, w, z); }
1518 }
1519
1520
1521 /// <summary>Swizzles the vector.</summary>
1522 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1523 public uint4 yyww
1524 {
1525 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1526 get { return new uint4(y, y, w, w); }
1527 }
1528
1529
1530 /// <summary>Swizzles the vector.</summary>
1531 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1532 public uint4 yzxx
1533 {
1534 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1535 get { return new uint4(y, z, x, x); }
1536 }
1537
1538
1539 /// <summary>Swizzles the vector.</summary>
1540 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1541 public uint4 yzxy
1542 {
1543 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1544 get { return new uint4(y, z, x, y); }
1545 }
1546
1547
1548 /// <summary>Swizzles the vector.</summary>
1549 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1550 public uint4 yzxz
1551 {
1552 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1553 get { return new uint4(y, z, x, z); }
1554 }
1555
1556
1557 /// <summary>Swizzles the vector.</summary>
1558 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1559 public uint4 yzxw
1560 {
1561 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1562 get { return new uint4(y, z, x, w); }
1563 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1564 set { y = value.x; z = value.y; x = value.z; w = value.w; }
1565 }
1566
1567
1568 /// <summary>Swizzles the vector.</summary>
1569 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1570 public uint4 yzyx
1571 {
1572 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1573 get { return new uint4(y, z, y, x); }
1574 }
1575
1576
1577 /// <summary>Swizzles the vector.</summary>
1578 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1579 public uint4 yzyy
1580 {
1581 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1582 get { return new uint4(y, z, y, y); }
1583 }
1584
1585
1586 /// <summary>Swizzles the vector.</summary>
1587 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1588 public uint4 yzyz
1589 {
1590 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1591 get { return new uint4(y, z, y, z); }
1592 }
1593
1594
1595 /// <summary>Swizzles the vector.</summary>
1596 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1597 public uint4 yzyw
1598 {
1599 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1600 get { return new uint4(y, z, y, w); }
1601 }
1602
1603
1604 /// <summary>Swizzles the vector.</summary>
1605 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1606 public uint4 yzzx
1607 {
1608 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1609 get { return new uint4(y, z, z, x); }
1610 }
1611
1612
1613 /// <summary>Swizzles the vector.</summary>
1614 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1615 public uint4 yzzy
1616 {
1617 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1618 get { return new uint4(y, z, z, y); }
1619 }
1620
1621
1622 /// <summary>Swizzles the vector.</summary>
1623 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1624 public uint4 yzzz
1625 {
1626 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1627 get { return new uint4(y, z, z, z); }
1628 }
1629
1630
1631 /// <summary>Swizzles the vector.</summary>
1632 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1633 public uint4 yzzw
1634 {
1635 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1636 get { return new uint4(y, z, z, w); }
1637 }
1638
1639
1640 /// <summary>Swizzles the vector.</summary>
1641 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1642 public uint4 yzwx
1643 {
1644 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1645 get { return new uint4(y, z, w, x); }
1646 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1647 set { y = value.x; z = value.y; w = value.z; x = value.w; }
1648 }
1649
1650
1651 /// <summary>Swizzles the vector.</summary>
1652 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1653 public uint4 yzwy
1654 {
1655 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1656 get { return new uint4(y, z, w, y); }
1657 }
1658
1659
1660 /// <summary>Swizzles the vector.</summary>
1661 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1662 public uint4 yzwz
1663 {
1664 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1665 get { return new uint4(y, z, w, z); }
1666 }
1667
1668
1669 /// <summary>Swizzles the vector.</summary>
1670 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1671 public uint4 yzww
1672 {
1673 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1674 get { return new uint4(y, z, w, w); }
1675 }
1676
1677
1678 /// <summary>Swizzles the vector.</summary>
1679 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1680 public uint4 ywxx
1681 {
1682 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1683 get { return new uint4(y, w, x, x); }
1684 }
1685
1686
1687 /// <summary>Swizzles the vector.</summary>
1688 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1689 public uint4 ywxy
1690 {
1691 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1692 get { return new uint4(y, w, x, y); }
1693 }
1694
1695
1696 /// <summary>Swizzles the vector.</summary>
1697 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1698 public uint4 ywxz
1699 {
1700 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1701 get { return new uint4(y, w, x, z); }
1702 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1703 set { y = value.x; w = value.y; x = value.z; z = value.w; }
1704 }
1705
1706
1707 /// <summary>Swizzles the vector.</summary>
1708 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1709 public uint4 ywxw
1710 {
1711 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1712 get { return new uint4(y, w, x, w); }
1713 }
1714
1715
1716 /// <summary>Swizzles the vector.</summary>
1717 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1718 public uint4 ywyx
1719 {
1720 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1721 get { return new uint4(y, w, y, x); }
1722 }
1723
1724
1725 /// <summary>Swizzles the vector.</summary>
1726 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1727 public uint4 ywyy
1728 {
1729 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1730 get { return new uint4(y, w, y, y); }
1731 }
1732
1733
1734 /// <summary>Swizzles the vector.</summary>
1735 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1736 public uint4 ywyz
1737 {
1738 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1739 get { return new uint4(y, w, y, z); }
1740 }
1741
1742
1743 /// <summary>Swizzles the vector.</summary>
1744 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1745 public uint4 ywyw
1746 {
1747 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1748 get { return new uint4(y, w, y, w); }
1749 }
1750
1751
1752 /// <summary>Swizzles the vector.</summary>
1753 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1754 public uint4 ywzx
1755 {
1756 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1757 get { return new uint4(y, w, z, x); }
1758 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1759 set { y = value.x; w = value.y; z = value.z; x = value.w; }
1760 }
1761
1762
1763 /// <summary>Swizzles the vector.</summary>
1764 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1765 public uint4 ywzy
1766 {
1767 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1768 get { return new uint4(y, w, z, y); }
1769 }
1770
1771
1772 /// <summary>Swizzles the vector.</summary>
1773 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1774 public uint4 ywzz
1775 {
1776 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1777 get { return new uint4(y, w, z, z); }
1778 }
1779
1780
1781 /// <summary>Swizzles the vector.</summary>
1782 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1783 public uint4 ywzw
1784 {
1785 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1786 get { return new uint4(y, w, z, w); }
1787 }
1788
1789
1790 /// <summary>Swizzles the vector.</summary>
1791 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1792 public uint4 ywwx
1793 {
1794 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1795 get { return new uint4(y, w, w, x); }
1796 }
1797
1798
1799 /// <summary>Swizzles the vector.</summary>
1800 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1801 public uint4 ywwy
1802 {
1803 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1804 get { return new uint4(y, w, w, y); }
1805 }
1806
1807
1808 /// <summary>Swizzles the vector.</summary>
1809 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1810 public uint4 ywwz
1811 {
1812 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1813 get { return new uint4(y, w, w, z); }
1814 }
1815
1816
1817 /// <summary>Swizzles the vector.</summary>
1818 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1819 public uint4 ywww
1820 {
1821 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1822 get { return new uint4(y, w, w, w); }
1823 }
1824
1825
1826 /// <summary>Swizzles the vector.</summary>
1827 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1828 public uint4 zxxx
1829 {
1830 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1831 get { return new uint4(z, x, x, x); }
1832 }
1833
1834
1835 /// <summary>Swizzles the vector.</summary>
1836 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1837 public uint4 zxxy
1838 {
1839 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1840 get { return new uint4(z, x, x, y); }
1841 }
1842
1843
1844 /// <summary>Swizzles the vector.</summary>
1845 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1846 public uint4 zxxz
1847 {
1848 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1849 get { return new uint4(z, x, x, z); }
1850 }
1851
1852
1853 /// <summary>Swizzles the vector.</summary>
1854 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1855 public uint4 zxxw
1856 {
1857 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1858 get { return new uint4(z, x, x, w); }
1859 }
1860
1861
1862 /// <summary>Swizzles the vector.</summary>
1863 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1864 public uint4 zxyx
1865 {
1866 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1867 get { return new uint4(z, x, y, x); }
1868 }
1869
1870
1871 /// <summary>Swizzles the vector.</summary>
1872 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1873 public uint4 zxyy
1874 {
1875 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1876 get { return new uint4(z, x, y, y); }
1877 }
1878
1879
1880 /// <summary>Swizzles the vector.</summary>
1881 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1882 public uint4 zxyz
1883 {
1884 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1885 get { return new uint4(z, x, y, z); }
1886 }
1887
1888
1889 /// <summary>Swizzles the vector.</summary>
1890 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1891 public uint4 zxyw
1892 {
1893 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1894 get { return new uint4(z, x, y, w); }
1895 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1896 set { z = value.x; x = value.y; y = value.z; w = value.w; }
1897 }
1898
1899
1900 /// <summary>Swizzles the vector.</summary>
1901 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1902 public uint4 zxzx
1903 {
1904 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1905 get { return new uint4(z, x, z, x); }
1906 }
1907
1908
1909 /// <summary>Swizzles the vector.</summary>
1910 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1911 public uint4 zxzy
1912 {
1913 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1914 get { return new uint4(z, x, z, y); }
1915 }
1916
1917
1918 /// <summary>Swizzles the vector.</summary>
1919 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1920 public uint4 zxzz
1921 {
1922 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1923 get { return new uint4(z, x, z, z); }
1924 }
1925
1926
1927 /// <summary>Swizzles the vector.</summary>
1928 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1929 public uint4 zxzw
1930 {
1931 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1932 get { return new uint4(z, x, z, w); }
1933 }
1934
1935
1936 /// <summary>Swizzles the vector.</summary>
1937 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1938 public uint4 zxwx
1939 {
1940 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1941 get { return new uint4(z, x, w, x); }
1942 }
1943
1944
1945 /// <summary>Swizzles the vector.</summary>
1946 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1947 public uint4 zxwy
1948 {
1949 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1950 get { return new uint4(z, x, w, y); }
1951 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1952 set { z = value.x; x = value.y; w = value.z; y = value.w; }
1953 }
1954
1955
1956 /// <summary>Swizzles the vector.</summary>
1957 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1958 public uint4 zxwz
1959 {
1960 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1961 get { return new uint4(z, x, w, z); }
1962 }
1963
1964
1965 /// <summary>Swizzles the vector.</summary>
1966 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1967 public uint4 zxww
1968 {
1969 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1970 get { return new uint4(z, x, w, w); }
1971 }
1972
1973
1974 /// <summary>Swizzles the vector.</summary>
1975 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1976 public uint4 zyxx
1977 {
1978 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1979 get { return new uint4(z, y, x, x); }
1980 }
1981
1982
1983 /// <summary>Swizzles the vector.</summary>
1984 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1985 public uint4 zyxy
1986 {
1987 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1988 get { return new uint4(z, y, x, y); }
1989 }
1990
1991
1992 /// <summary>Swizzles the vector.</summary>
1993 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
1994 public uint4 zyxz
1995 {
1996 [MethodImpl(MethodImplOptions.AggressiveInlining)]
1997 get { return new uint4(z, y, x, z); }
1998 }
1999
2000
2001 /// <summary>Swizzles the vector.</summary>
2002 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2003 public uint4 zyxw
2004 {
2005 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2006 get { return new uint4(z, y, x, w); }
2007 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2008 set { z = value.x; y = value.y; x = value.z; w = value.w; }
2009 }
2010
2011
2012 /// <summary>Swizzles the vector.</summary>
2013 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2014 public uint4 zyyx
2015 {
2016 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2017 get { return new uint4(z, y, y, x); }
2018 }
2019
2020
2021 /// <summary>Swizzles the vector.</summary>
2022 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2023 public uint4 zyyy
2024 {
2025 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2026 get { return new uint4(z, y, y, y); }
2027 }
2028
2029
2030 /// <summary>Swizzles the vector.</summary>
2031 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2032 public uint4 zyyz
2033 {
2034 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2035 get { return new uint4(z, y, y, z); }
2036 }
2037
2038
2039 /// <summary>Swizzles the vector.</summary>
2040 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2041 public uint4 zyyw
2042 {
2043 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2044 get { return new uint4(z, y, y, w); }
2045 }
2046
2047
2048 /// <summary>Swizzles the vector.</summary>
2049 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2050 public uint4 zyzx
2051 {
2052 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2053 get { return new uint4(z, y, z, x); }
2054 }
2055
2056
2057 /// <summary>Swizzles the vector.</summary>
2058 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2059 public uint4 zyzy
2060 {
2061 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2062 get { return new uint4(z, y, z, y); }
2063 }
2064
2065
2066 /// <summary>Swizzles the vector.</summary>
2067 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2068 public uint4 zyzz
2069 {
2070 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2071 get { return new uint4(z, y, z, z); }
2072 }
2073
2074
2075 /// <summary>Swizzles the vector.</summary>
2076 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2077 public uint4 zyzw
2078 {
2079 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2080 get { return new uint4(z, y, z, w); }
2081 }
2082
2083
2084 /// <summary>Swizzles the vector.</summary>
2085 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2086 public uint4 zywx
2087 {
2088 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2089 get { return new uint4(z, y, w, x); }
2090 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2091 set { z = value.x; y = value.y; w = value.z; x = value.w; }
2092 }
2093
2094
2095 /// <summary>Swizzles the vector.</summary>
2096 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2097 public uint4 zywy
2098 {
2099 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2100 get { return new uint4(z, y, w, y); }
2101 }
2102
2103
2104 /// <summary>Swizzles the vector.</summary>
2105 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2106 public uint4 zywz
2107 {
2108 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2109 get { return new uint4(z, y, w, z); }
2110 }
2111
2112
2113 /// <summary>Swizzles the vector.</summary>
2114 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2115 public uint4 zyww
2116 {
2117 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2118 get { return new uint4(z, y, w, w); }
2119 }
2120
2121
2122 /// <summary>Swizzles the vector.</summary>
2123 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2124 public uint4 zzxx
2125 {
2126 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2127 get { return new uint4(z, z, x, x); }
2128 }
2129
2130
2131 /// <summary>Swizzles the vector.</summary>
2132 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2133 public uint4 zzxy
2134 {
2135 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2136 get { return new uint4(z, z, x, y); }
2137 }
2138
2139
2140 /// <summary>Swizzles the vector.</summary>
2141 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2142 public uint4 zzxz
2143 {
2144 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2145 get { return new uint4(z, z, x, z); }
2146 }
2147
2148
2149 /// <summary>Swizzles the vector.</summary>
2150 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2151 public uint4 zzxw
2152 {
2153 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2154 get { return new uint4(z, z, x, w); }
2155 }
2156
2157
2158 /// <summary>Swizzles the vector.</summary>
2159 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2160 public uint4 zzyx
2161 {
2162 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2163 get { return new uint4(z, z, y, x); }
2164 }
2165
2166
2167 /// <summary>Swizzles the vector.</summary>
2168 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2169 public uint4 zzyy
2170 {
2171 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2172 get { return new uint4(z, z, y, y); }
2173 }
2174
2175
2176 /// <summary>Swizzles the vector.</summary>
2177 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2178 public uint4 zzyz
2179 {
2180 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2181 get { return new uint4(z, z, y, z); }
2182 }
2183
2184
2185 /// <summary>Swizzles the vector.</summary>
2186 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2187 public uint4 zzyw
2188 {
2189 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2190 get { return new uint4(z, z, y, w); }
2191 }
2192
2193
2194 /// <summary>Swizzles the vector.</summary>
2195 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2196 public uint4 zzzx
2197 {
2198 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2199 get { return new uint4(z, z, z, x); }
2200 }
2201
2202
2203 /// <summary>Swizzles the vector.</summary>
2204 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2205 public uint4 zzzy
2206 {
2207 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2208 get { return new uint4(z, z, z, y); }
2209 }
2210
2211
2212 /// <summary>Swizzles the vector.</summary>
2213 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2214 public uint4 zzzz
2215 {
2216 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2217 get { return new uint4(z, z, z, z); }
2218 }
2219
2220
2221 /// <summary>Swizzles the vector.</summary>
2222 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2223 public uint4 zzzw
2224 {
2225 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2226 get { return new uint4(z, z, z, w); }
2227 }
2228
2229
2230 /// <summary>Swizzles the vector.</summary>
2231 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2232 public uint4 zzwx
2233 {
2234 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2235 get { return new uint4(z, z, w, x); }
2236 }
2237
2238
2239 /// <summary>Swizzles the vector.</summary>
2240 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2241 public uint4 zzwy
2242 {
2243 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2244 get { return new uint4(z, z, w, y); }
2245 }
2246
2247
2248 /// <summary>Swizzles the vector.</summary>
2249 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2250 public uint4 zzwz
2251 {
2252 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2253 get { return new uint4(z, z, w, z); }
2254 }
2255
2256
2257 /// <summary>Swizzles the vector.</summary>
2258 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2259 public uint4 zzww
2260 {
2261 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2262 get { return new uint4(z, z, w, w); }
2263 }
2264
2265
2266 /// <summary>Swizzles the vector.</summary>
2267 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2268 public uint4 zwxx
2269 {
2270 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2271 get { return new uint4(z, w, x, x); }
2272 }
2273
2274
2275 /// <summary>Swizzles the vector.</summary>
2276 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2277 public uint4 zwxy
2278 {
2279 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2280 get { return new uint4(z, w, x, y); }
2281 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2282 set { z = value.x; w = value.y; x = value.z; y = value.w; }
2283 }
2284
2285
2286 /// <summary>Swizzles the vector.</summary>
2287 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2288 public uint4 zwxz
2289 {
2290 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2291 get { return new uint4(z, w, x, z); }
2292 }
2293
2294
2295 /// <summary>Swizzles the vector.</summary>
2296 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2297 public uint4 zwxw
2298 {
2299 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2300 get { return new uint4(z, w, x, w); }
2301 }
2302
2303
2304 /// <summary>Swizzles the vector.</summary>
2305 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2306 public uint4 zwyx
2307 {
2308 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2309 get { return new uint4(z, w, y, x); }
2310 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2311 set { z = value.x; w = value.y; y = value.z; x = value.w; }
2312 }
2313
2314
2315 /// <summary>Swizzles the vector.</summary>
2316 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2317 public uint4 zwyy
2318 {
2319 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2320 get { return new uint4(z, w, y, y); }
2321 }
2322
2323
2324 /// <summary>Swizzles the vector.</summary>
2325 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2326 public uint4 zwyz
2327 {
2328 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2329 get { return new uint4(z, w, y, z); }
2330 }
2331
2332
2333 /// <summary>Swizzles the vector.</summary>
2334 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2335 public uint4 zwyw
2336 {
2337 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2338 get { return new uint4(z, w, y, w); }
2339 }
2340
2341
2342 /// <summary>Swizzles the vector.</summary>
2343 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2344 public uint4 zwzx
2345 {
2346 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2347 get { return new uint4(z, w, z, x); }
2348 }
2349
2350
2351 /// <summary>Swizzles the vector.</summary>
2352 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2353 public uint4 zwzy
2354 {
2355 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2356 get { return new uint4(z, w, z, y); }
2357 }
2358
2359
2360 /// <summary>Swizzles the vector.</summary>
2361 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2362 public uint4 zwzz
2363 {
2364 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2365 get { return new uint4(z, w, z, z); }
2366 }
2367
2368
2369 /// <summary>Swizzles the vector.</summary>
2370 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2371 public uint4 zwzw
2372 {
2373 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2374 get { return new uint4(z, w, z, w); }
2375 }
2376
2377
2378 /// <summary>Swizzles the vector.</summary>
2379 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2380 public uint4 zwwx
2381 {
2382 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2383 get { return new uint4(z, w, w, x); }
2384 }
2385
2386
2387 /// <summary>Swizzles the vector.</summary>
2388 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2389 public uint4 zwwy
2390 {
2391 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2392 get { return new uint4(z, w, w, y); }
2393 }
2394
2395
2396 /// <summary>Swizzles the vector.</summary>
2397 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2398 public uint4 zwwz
2399 {
2400 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2401 get { return new uint4(z, w, w, z); }
2402 }
2403
2404
2405 /// <summary>Swizzles the vector.</summary>
2406 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2407 public uint4 zwww
2408 {
2409 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2410 get { return new uint4(z, w, w, w); }
2411 }
2412
2413
2414 /// <summary>Swizzles the vector.</summary>
2415 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2416 public uint4 wxxx
2417 {
2418 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2419 get { return new uint4(w, x, x, x); }
2420 }
2421
2422
2423 /// <summary>Swizzles the vector.</summary>
2424 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2425 public uint4 wxxy
2426 {
2427 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2428 get { return new uint4(w, x, x, y); }
2429 }
2430
2431
2432 /// <summary>Swizzles the vector.</summary>
2433 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2434 public uint4 wxxz
2435 {
2436 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2437 get { return new uint4(w, x, x, z); }
2438 }
2439
2440
2441 /// <summary>Swizzles the vector.</summary>
2442 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2443 public uint4 wxxw
2444 {
2445 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2446 get { return new uint4(w, x, x, w); }
2447 }
2448
2449
2450 /// <summary>Swizzles the vector.</summary>
2451 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2452 public uint4 wxyx
2453 {
2454 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2455 get { return new uint4(w, x, y, x); }
2456 }
2457
2458
2459 /// <summary>Swizzles the vector.</summary>
2460 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2461 public uint4 wxyy
2462 {
2463 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2464 get { return new uint4(w, x, y, y); }
2465 }
2466
2467
2468 /// <summary>Swizzles the vector.</summary>
2469 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2470 public uint4 wxyz
2471 {
2472 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2473 get { return new uint4(w, x, y, z); }
2474 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2475 set { w = value.x; x = value.y; y = value.z; z = value.w; }
2476 }
2477
2478
2479 /// <summary>Swizzles the vector.</summary>
2480 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2481 public uint4 wxyw
2482 {
2483 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2484 get { return new uint4(w, x, y, w); }
2485 }
2486
2487
2488 /// <summary>Swizzles the vector.</summary>
2489 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2490 public uint4 wxzx
2491 {
2492 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2493 get { return new uint4(w, x, z, x); }
2494 }
2495
2496
2497 /// <summary>Swizzles the vector.</summary>
2498 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2499 public uint4 wxzy
2500 {
2501 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2502 get { return new uint4(w, x, z, y); }
2503 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2504 set { w = value.x; x = value.y; z = value.z; y = value.w; }
2505 }
2506
2507
2508 /// <summary>Swizzles the vector.</summary>
2509 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2510 public uint4 wxzz
2511 {
2512 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2513 get { return new uint4(w, x, z, z); }
2514 }
2515
2516
2517 /// <summary>Swizzles the vector.</summary>
2518 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2519 public uint4 wxzw
2520 {
2521 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2522 get { return new uint4(w, x, z, w); }
2523 }
2524
2525
2526 /// <summary>Swizzles the vector.</summary>
2527 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2528 public uint4 wxwx
2529 {
2530 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2531 get { return new uint4(w, x, w, x); }
2532 }
2533
2534
2535 /// <summary>Swizzles the vector.</summary>
2536 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2537 public uint4 wxwy
2538 {
2539 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2540 get { return new uint4(w, x, w, y); }
2541 }
2542
2543
2544 /// <summary>Swizzles the vector.</summary>
2545 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2546 public uint4 wxwz
2547 {
2548 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2549 get { return new uint4(w, x, w, z); }
2550 }
2551
2552
2553 /// <summary>Swizzles the vector.</summary>
2554 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2555 public uint4 wxww
2556 {
2557 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2558 get { return new uint4(w, x, w, w); }
2559 }
2560
2561
2562 /// <summary>Swizzles the vector.</summary>
2563 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2564 public uint4 wyxx
2565 {
2566 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2567 get { return new uint4(w, y, x, x); }
2568 }
2569
2570
2571 /// <summary>Swizzles the vector.</summary>
2572 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2573 public uint4 wyxy
2574 {
2575 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2576 get { return new uint4(w, y, x, y); }
2577 }
2578
2579
2580 /// <summary>Swizzles the vector.</summary>
2581 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2582 public uint4 wyxz
2583 {
2584 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2585 get { return new uint4(w, y, x, z); }
2586 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2587 set { w = value.x; y = value.y; x = value.z; z = value.w; }
2588 }
2589
2590
2591 /// <summary>Swizzles the vector.</summary>
2592 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2593 public uint4 wyxw
2594 {
2595 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2596 get { return new uint4(w, y, x, w); }
2597 }
2598
2599
2600 /// <summary>Swizzles the vector.</summary>
2601 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2602 public uint4 wyyx
2603 {
2604 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2605 get { return new uint4(w, y, y, x); }
2606 }
2607
2608
2609 /// <summary>Swizzles the vector.</summary>
2610 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2611 public uint4 wyyy
2612 {
2613 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2614 get { return new uint4(w, y, y, y); }
2615 }
2616
2617
2618 /// <summary>Swizzles the vector.</summary>
2619 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2620 public uint4 wyyz
2621 {
2622 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2623 get { return new uint4(w, y, y, z); }
2624 }
2625
2626
2627 /// <summary>Swizzles the vector.</summary>
2628 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2629 public uint4 wyyw
2630 {
2631 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2632 get { return new uint4(w, y, y, w); }
2633 }
2634
2635
2636 /// <summary>Swizzles the vector.</summary>
2637 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2638 public uint4 wyzx
2639 {
2640 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2641 get { return new uint4(w, y, z, x); }
2642 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2643 set { w = value.x; y = value.y; z = value.z; x = value.w; }
2644 }
2645
2646
2647 /// <summary>Swizzles the vector.</summary>
2648 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2649 public uint4 wyzy
2650 {
2651 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2652 get { return new uint4(w, y, z, y); }
2653 }
2654
2655
2656 /// <summary>Swizzles the vector.</summary>
2657 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2658 public uint4 wyzz
2659 {
2660 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2661 get { return new uint4(w, y, z, z); }
2662 }
2663
2664
2665 /// <summary>Swizzles the vector.</summary>
2666 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2667 public uint4 wyzw
2668 {
2669 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2670 get { return new uint4(w, y, z, w); }
2671 }
2672
2673
2674 /// <summary>Swizzles the vector.</summary>
2675 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2676 public uint4 wywx
2677 {
2678 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2679 get { return new uint4(w, y, w, x); }
2680 }
2681
2682
2683 /// <summary>Swizzles the vector.</summary>
2684 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2685 public uint4 wywy
2686 {
2687 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2688 get { return new uint4(w, y, w, y); }
2689 }
2690
2691
2692 /// <summary>Swizzles the vector.</summary>
2693 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2694 public uint4 wywz
2695 {
2696 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2697 get { return new uint4(w, y, w, z); }
2698 }
2699
2700
2701 /// <summary>Swizzles the vector.</summary>
2702 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2703 public uint4 wyww
2704 {
2705 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2706 get { return new uint4(w, y, w, w); }
2707 }
2708
2709
2710 /// <summary>Swizzles the vector.</summary>
2711 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2712 public uint4 wzxx
2713 {
2714 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2715 get { return new uint4(w, z, x, x); }
2716 }
2717
2718
2719 /// <summary>Swizzles the vector.</summary>
2720 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2721 public uint4 wzxy
2722 {
2723 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2724 get { return new uint4(w, z, x, y); }
2725 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2726 set { w = value.x; z = value.y; x = value.z; y = value.w; }
2727 }
2728
2729
2730 /// <summary>Swizzles the vector.</summary>
2731 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2732 public uint4 wzxz
2733 {
2734 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2735 get { return new uint4(w, z, x, z); }
2736 }
2737
2738
2739 /// <summary>Swizzles the vector.</summary>
2740 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2741 public uint4 wzxw
2742 {
2743 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2744 get { return new uint4(w, z, x, w); }
2745 }
2746
2747
2748 /// <summary>Swizzles the vector.</summary>
2749 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2750 public uint4 wzyx
2751 {
2752 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2753 get { return new uint4(w, z, y, x); }
2754 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2755 set { w = value.x; z = value.y; y = value.z; x = value.w; }
2756 }
2757
2758
2759 /// <summary>Swizzles the vector.</summary>
2760 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2761 public uint4 wzyy
2762 {
2763 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2764 get { return new uint4(w, z, y, y); }
2765 }
2766
2767
2768 /// <summary>Swizzles the vector.</summary>
2769 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2770 public uint4 wzyz
2771 {
2772 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2773 get { return new uint4(w, z, y, z); }
2774 }
2775
2776
2777 /// <summary>Swizzles the vector.</summary>
2778 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2779 public uint4 wzyw
2780 {
2781 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2782 get { return new uint4(w, z, y, w); }
2783 }
2784
2785
2786 /// <summary>Swizzles the vector.</summary>
2787 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2788 public uint4 wzzx
2789 {
2790 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2791 get { return new uint4(w, z, z, x); }
2792 }
2793
2794
2795 /// <summary>Swizzles the vector.</summary>
2796 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2797 public uint4 wzzy
2798 {
2799 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2800 get { return new uint4(w, z, z, y); }
2801 }
2802
2803
2804 /// <summary>Swizzles the vector.</summary>
2805 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2806 public uint4 wzzz
2807 {
2808 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2809 get { return new uint4(w, z, z, z); }
2810 }
2811
2812
2813 /// <summary>Swizzles the vector.</summary>
2814 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2815 public uint4 wzzw
2816 {
2817 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2818 get { return new uint4(w, z, z, w); }
2819 }
2820
2821
2822 /// <summary>Swizzles the vector.</summary>
2823 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2824 public uint4 wzwx
2825 {
2826 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2827 get { return new uint4(w, z, w, x); }
2828 }
2829
2830
2831 /// <summary>Swizzles the vector.</summary>
2832 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2833 public uint4 wzwy
2834 {
2835 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2836 get { return new uint4(w, z, w, y); }
2837 }
2838
2839
2840 /// <summary>Swizzles the vector.</summary>
2841 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2842 public uint4 wzwz
2843 {
2844 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2845 get { return new uint4(w, z, w, z); }
2846 }
2847
2848
2849 /// <summary>Swizzles the vector.</summary>
2850 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2851 public uint4 wzww
2852 {
2853 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2854 get { return new uint4(w, z, w, w); }
2855 }
2856
2857
2858 /// <summary>Swizzles the vector.</summary>
2859 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2860 public uint4 wwxx
2861 {
2862 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2863 get { return new uint4(w, w, x, x); }
2864 }
2865
2866
2867 /// <summary>Swizzles the vector.</summary>
2868 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2869 public uint4 wwxy
2870 {
2871 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2872 get { return new uint4(w, w, x, y); }
2873 }
2874
2875
2876 /// <summary>Swizzles the vector.</summary>
2877 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2878 public uint4 wwxz
2879 {
2880 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2881 get { return new uint4(w, w, x, z); }
2882 }
2883
2884
2885 /// <summary>Swizzles the vector.</summary>
2886 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2887 public uint4 wwxw
2888 {
2889 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2890 get { return new uint4(w, w, x, w); }
2891 }
2892
2893
2894 /// <summary>Swizzles the vector.</summary>
2895 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2896 public uint4 wwyx
2897 {
2898 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2899 get { return new uint4(w, w, y, x); }
2900 }
2901
2902
2903 /// <summary>Swizzles the vector.</summary>
2904 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2905 public uint4 wwyy
2906 {
2907 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2908 get { return new uint4(w, w, y, y); }
2909 }
2910
2911
2912 /// <summary>Swizzles the vector.</summary>
2913 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2914 public uint4 wwyz
2915 {
2916 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2917 get { return new uint4(w, w, y, z); }
2918 }
2919
2920
2921 /// <summary>Swizzles the vector.</summary>
2922 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2923 public uint4 wwyw
2924 {
2925 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2926 get { return new uint4(w, w, y, w); }
2927 }
2928
2929
2930 /// <summary>Swizzles the vector.</summary>
2931 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2932 public uint4 wwzx
2933 {
2934 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2935 get { return new uint4(w, w, z, x); }
2936 }
2937
2938
2939 /// <summary>Swizzles the vector.</summary>
2940 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2941 public uint4 wwzy
2942 {
2943 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2944 get { return new uint4(w, w, z, y); }
2945 }
2946
2947
2948 /// <summary>Swizzles the vector.</summary>
2949 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2950 public uint4 wwzz
2951 {
2952 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2953 get { return new uint4(w, w, z, z); }
2954 }
2955
2956
2957 /// <summary>Swizzles the vector.</summary>
2958 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2959 public uint4 wwzw
2960 {
2961 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2962 get { return new uint4(w, w, z, w); }
2963 }
2964
2965
2966 /// <summary>Swizzles the vector.</summary>
2967 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2968 public uint4 wwwx
2969 {
2970 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2971 get { return new uint4(w, w, w, x); }
2972 }
2973
2974
2975 /// <summary>Swizzles the vector.</summary>
2976 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2977 public uint4 wwwy
2978 {
2979 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2980 get { return new uint4(w, w, w, y); }
2981 }
2982
2983
2984 /// <summary>Swizzles the vector.</summary>
2985 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2986 public uint4 wwwz
2987 {
2988 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2989 get { return new uint4(w, w, w, z); }
2990 }
2991
2992
2993 /// <summary>Swizzles the vector.</summary>
2994 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
2995 public uint4 wwww
2996 {
2997 [MethodImpl(MethodImplOptions.AggressiveInlining)]
2998 get { return new uint4(w, w, w, w); }
2999 }
3000
3001
3002 /// <summary>Swizzles the vector.</summary>
3003 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3004 public uint3 xxx
3005 {
3006 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3007 get { return new uint3(x, x, x); }
3008 }
3009
3010
3011 /// <summary>Swizzles the vector.</summary>
3012 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3013 public uint3 xxy
3014 {
3015 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3016 get { return new uint3(x, x, y); }
3017 }
3018
3019
3020 /// <summary>Swizzles the vector.</summary>
3021 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3022 public uint3 xxz
3023 {
3024 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3025 get { return new uint3(x, x, z); }
3026 }
3027
3028
3029 /// <summary>Swizzles the vector.</summary>
3030 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3031 public uint3 xxw
3032 {
3033 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3034 get { return new uint3(x, x, w); }
3035 }
3036
3037
3038 /// <summary>Swizzles the vector.</summary>
3039 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3040 public uint3 xyx
3041 {
3042 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3043 get { return new uint3(x, y, x); }
3044 }
3045
3046
3047 /// <summary>Swizzles the vector.</summary>
3048 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3049 public uint3 xyy
3050 {
3051 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3052 get { return new uint3(x, y, y); }
3053 }
3054
3055
3056 /// <summary>Swizzles the vector.</summary>
3057 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3058 public uint3 xyz
3059 {
3060 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3061 get { return new uint3(x, y, z); }
3062 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3063 set { x = value.x; y = value.y; z = value.z; }
3064 }
3065
3066
3067 /// <summary>Swizzles the vector.</summary>
3068 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3069 public uint3 xyw
3070 {
3071 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3072 get { return new uint3(x, y, w); }
3073 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3074 set { x = value.x; y = value.y; w = value.z; }
3075 }
3076
3077
3078 /// <summary>Swizzles the vector.</summary>
3079 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3080 public uint3 xzx
3081 {
3082 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3083 get { return new uint3(x, z, x); }
3084 }
3085
3086
3087 /// <summary>Swizzles the vector.</summary>
3088 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3089 public uint3 xzy
3090 {
3091 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3092 get { return new uint3(x, z, y); }
3093 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3094 set { x = value.x; z = value.y; y = value.z; }
3095 }
3096
3097
3098 /// <summary>Swizzles the vector.</summary>
3099 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3100 public uint3 xzz
3101 {
3102 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3103 get { return new uint3(x, z, z); }
3104 }
3105
3106
3107 /// <summary>Swizzles the vector.</summary>
3108 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3109 public uint3 xzw
3110 {
3111 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3112 get { return new uint3(x, z, w); }
3113 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3114 set { x = value.x; z = value.y; w = value.z; }
3115 }
3116
3117
3118 /// <summary>Swizzles the vector.</summary>
3119 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3120 public uint3 xwx
3121 {
3122 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3123 get { return new uint3(x, w, x); }
3124 }
3125
3126
3127 /// <summary>Swizzles the vector.</summary>
3128 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3129 public uint3 xwy
3130 {
3131 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3132 get { return new uint3(x, w, y); }
3133 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3134 set { x = value.x; w = value.y; y = value.z; }
3135 }
3136
3137
3138 /// <summary>Swizzles the vector.</summary>
3139 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3140 public uint3 xwz
3141 {
3142 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3143 get { return new uint3(x, w, z); }
3144 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3145 set { x = value.x; w = value.y; z = value.z; }
3146 }
3147
3148
3149 /// <summary>Swizzles the vector.</summary>
3150 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3151 public uint3 xww
3152 {
3153 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3154 get { return new uint3(x, w, w); }
3155 }
3156
3157
3158 /// <summary>Swizzles the vector.</summary>
3159 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3160 public uint3 yxx
3161 {
3162 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3163 get { return new uint3(y, x, x); }
3164 }
3165
3166
3167 /// <summary>Swizzles the vector.</summary>
3168 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3169 public uint3 yxy
3170 {
3171 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3172 get { return new uint3(y, x, y); }
3173 }
3174
3175
3176 /// <summary>Swizzles the vector.</summary>
3177 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3178 public uint3 yxz
3179 {
3180 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3181 get { return new uint3(y, x, z); }
3182 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3183 set { y = value.x; x = value.y; z = value.z; }
3184 }
3185
3186
3187 /// <summary>Swizzles the vector.</summary>
3188 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3189 public uint3 yxw
3190 {
3191 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3192 get { return new uint3(y, x, w); }
3193 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3194 set { y = value.x; x = value.y; w = value.z; }
3195 }
3196
3197
3198 /// <summary>Swizzles the vector.</summary>
3199 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3200 public uint3 yyx
3201 {
3202 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3203 get { return new uint3(y, y, x); }
3204 }
3205
3206
3207 /// <summary>Swizzles the vector.</summary>
3208 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3209 public uint3 yyy
3210 {
3211 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3212 get { return new uint3(y, y, y); }
3213 }
3214
3215
3216 /// <summary>Swizzles the vector.</summary>
3217 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3218 public uint3 yyz
3219 {
3220 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3221 get { return new uint3(y, y, z); }
3222 }
3223
3224
3225 /// <summary>Swizzles the vector.</summary>
3226 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3227 public uint3 yyw
3228 {
3229 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3230 get { return new uint3(y, y, w); }
3231 }
3232
3233
3234 /// <summary>Swizzles the vector.</summary>
3235 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3236 public uint3 yzx
3237 {
3238 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3239 get { return new uint3(y, z, x); }
3240 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3241 set { y = value.x; z = value.y; x = value.z; }
3242 }
3243
3244
3245 /// <summary>Swizzles the vector.</summary>
3246 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3247 public uint3 yzy
3248 {
3249 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3250 get { return new uint3(y, z, y); }
3251 }
3252
3253
3254 /// <summary>Swizzles the vector.</summary>
3255 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3256 public uint3 yzz
3257 {
3258 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3259 get { return new uint3(y, z, z); }
3260 }
3261
3262
3263 /// <summary>Swizzles the vector.</summary>
3264 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3265 public uint3 yzw
3266 {
3267 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3268 get { return new uint3(y, z, w); }
3269 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3270 set { y = value.x; z = value.y; w = value.z; }
3271 }
3272
3273
3274 /// <summary>Swizzles the vector.</summary>
3275 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3276 public uint3 ywx
3277 {
3278 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3279 get { return new uint3(y, w, x); }
3280 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3281 set { y = value.x; w = value.y; x = value.z; }
3282 }
3283
3284
3285 /// <summary>Swizzles the vector.</summary>
3286 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3287 public uint3 ywy
3288 {
3289 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3290 get { return new uint3(y, w, y); }
3291 }
3292
3293
3294 /// <summary>Swizzles the vector.</summary>
3295 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3296 public uint3 ywz
3297 {
3298 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3299 get { return new uint3(y, w, z); }
3300 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3301 set { y = value.x; w = value.y; z = value.z; }
3302 }
3303
3304
3305 /// <summary>Swizzles the vector.</summary>
3306 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3307 public uint3 yww
3308 {
3309 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3310 get { return new uint3(y, w, w); }
3311 }
3312
3313
3314 /// <summary>Swizzles the vector.</summary>
3315 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3316 public uint3 zxx
3317 {
3318 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3319 get { return new uint3(z, x, x); }
3320 }
3321
3322
3323 /// <summary>Swizzles the vector.</summary>
3324 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3325 public uint3 zxy
3326 {
3327 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3328 get { return new uint3(z, x, y); }
3329 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3330 set { z = value.x; x = value.y; y = value.z; }
3331 }
3332
3333
3334 /// <summary>Swizzles the vector.</summary>
3335 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3336 public uint3 zxz
3337 {
3338 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3339 get { return new uint3(z, x, z); }
3340 }
3341
3342
3343 /// <summary>Swizzles the vector.</summary>
3344 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3345 public uint3 zxw
3346 {
3347 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3348 get { return new uint3(z, x, w); }
3349 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3350 set { z = value.x; x = value.y; w = value.z; }
3351 }
3352
3353
3354 /// <summary>Swizzles the vector.</summary>
3355 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3356 public uint3 zyx
3357 {
3358 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3359 get { return new uint3(z, y, x); }
3360 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3361 set { z = value.x; y = value.y; x = value.z; }
3362 }
3363
3364
3365 /// <summary>Swizzles the vector.</summary>
3366 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3367 public uint3 zyy
3368 {
3369 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3370 get { return new uint3(z, y, y); }
3371 }
3372
3373
3374 /// <summary>Swizzles the vector.</summary>
3375 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3376 public uint3 zyz
3377 {
3378 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3379 get { return new uint3(z, y, z); }
3380 }
3381
3382
3383 /// <summary>Swizzles the vector.</summary>
3384 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3385 public uint3 zyw
3386 {
3387 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3388 get { return new uint3(z, y, w); }
3389 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3390 set { z = value.x; y = value.y; w = value.z; }
3391 }
3392
3393
3394 /// <summary>Swizzles the vector.</summary>
3395 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3396 public uint3 zzx
3397 {
3398 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3399 get { return new uint3(z, z, x); }
3400 }
3401
3402
3403 /// <summary>Swizzles the vector.</summary>
3404 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3405 public uint3 zzy
3406 {
3407 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3408 get { return new uint3(z, z, y); }
3409 }
3410
3411
3412 /// <summary>Swizzles the vector.</summary>
3413 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3414 public uint3 zzz
3415 {
3416 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3417 get { return new uint3(z, z, z); }
3418 }
3419
3420
3421 /// <summary>Swizzles the vector.</summary>
3422 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3423 public uint3 zzw
3424 {
3425 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3426 get { return new uint3(z, z, w); }
3427 }
3428
3429
3430 /// <summary>Swizzles the vector.</summary>
3431 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3432 public uint3 zwx
3433 {
3434 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3435 get { return new uint3(z, w, x); }
3436 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3437 set { z = value.x; w = value.y; x = value.z; }
3438 }
3439
3440
3441 /// <summary>Swizzles the vector.</summary>
3442 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3443 public uint3 zwy
3444 {
3445 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3446 get { return new uint3(z, w, y); }
3447 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3448 set { z = value.x; w = value.y; y = value.z; }
3449 }
3450
3451
3452 /// <summary>Swizzles the vector.</summary>
3453 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3454 public uint3 zwz
3455 {
3456 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3457 get { return new uint3(z, w, z); }
3458 }
3459
3460
3461 /// <summary>Swizzles the vector.</summary>
3462 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3463 public uint3 zww
3464 {
3465 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3466 get { return new uint3(z, w, w); }
3467 }
3468
3469
3470 /// <summary>Swizzles the vector.</summary>
3471 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3472 public uint3 wxx
3473 {
3474 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3475 get { return new uint3(w, x, x); }
3476 }
3477
3478
3479 /// <summary>Swizzles the vector.</summary>
3480 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3481 public uint3 wxy
3482 {
3483 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3484 get { return new uint3(w, x, y); }
3485 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3486 set { w = value.x; x = value.y; y = value.z; }
3487 }
3488
3489
3490 /// <summary>Swizzles the vector.</summary>
3491 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3492 public uint3 wxz
3493 {
3494 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3495 get { return new uint3(w, x, z); }
3496 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3497 set { w = value.x; x = value.y; z = value.z; }
3498 }
3499
3500
3501 /// <summary>Swizzles the vector.</summary>
3502 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3503 public uint3 wxw
3504 {
3505 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3506 get { return new uint3(w, x, w); }
3507 }
3508
3509
3510 /// <summary>Swizzles the vector.</summary>
3511 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3512 public uint3 wyx
3513 {
3514 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3515 get { return new uint3(w, y, x); }
3516 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3517 set { w = value.x; y = value.y; x = value.z; }
3518 }
3519
3520
3521 /// <summary>Swizzles the vector.</summary>
3522 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3523 public uint3 wyy
3524 {
3525 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3526 get { return new uint3(w, y, y); }
3527 }
3528
3529
3530 /// <summary>Swizzles the vector.</summary>
3531 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3532 public uint3 wyz
3533 {
3534 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3535 get { return new uint3(w, y, z); }
3536 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3537 set { w = value.x; y = value.y; z = value.z; }
3538 }
3539
3540
3541 /// <summary>Swizzles the vector.</summary>
3542 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3543 public uint3 wyw
3544 {
3545 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3546 get { return new uint3(w, y, w); }
3547 }
3548
3549
3550 /// <summary>Swizzles the vector.</summary>
3551 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3552 public uint3 wzx
3553 {
3554 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3555 get { return new uint3(w, z, x); }
3556 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3557 set { w = value.x; z = value.y; x = value.z; }
3558 }
3559
3560
3561 /// <summary>Swizzles the vector.</summary>
3562 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3563 public uint3 wzy
3564 {
3565 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3566 get { return new uint3(w, z, y); }
3567 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3568 set { w = value.x; z = value.y; y = value.z; }
3569 }
3570
3571
3572 /// <summary>Swizzles the vector.</summary>
3573 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3574 public uint3 wzz
3575 {
3576 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3577 get { return new uint3(w, z, z); }
3578 }
3579
3580
3581 /// <summary>Swizzles the vector.</summary>
3582 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3583 public uint3 wzw
3584 {
3585 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3586 get { return new uint3(w, z, w); }
3587 }
3588
3589
3590 /// <summary>Swizzles the vector.</summary>
3591 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3592 public uint3 wwx
3593 {
3594 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3595 get { return new uint3(w, w, x); }
3596 }
3597
3598
3599 /// <summary>Swizzles the vector.</summary>
3600 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3601 public uint3 wwy
3602 {
3603 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3604 get { return new uint3(w, w, y); }
3605 }
3606
3607
3608 /// <summary>Swizzles the vector.</summary>
3609 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3610 public uint3 wwz
3611 {
3612 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3613 get { return new uint3(w, w, z); }
3614 }
3615
3616
3617 /// <summary>Swizzles the vector.</summary>
3618 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3619 public uint3 www
3620 {
3621 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3622 get { return new uint3(w, w, w); }
3623 }
3624
3625
3626 /// <summary>Swizzles the vector.</summary>
3627 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3628 public uint2 xx
3629 {
3630 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3631 get { return new uint2(x, x); }
3632 }
3633
3634
3635 /// <summary>Swizzles the vector.</summary>
3636 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3637 public uint2 xy
3638 {
3639 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3640 get { return new uint2(x, y); }
3641 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3642 set { x = value.x; y = value.y; }
3643 }
3644
3645
3646 /// <summary>Swizzles the vector.</summary>
3647 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3648 public uint2 xz
3649 {
3650 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3651 get { return new uint2(x, z); }
3652 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3653 set { x = value.x; z = value.y; }
3654 }
3655
3656
3657 /// <summary>Swizzles the vector.</summary>
3658 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3659 public uint2 xw
3660 {
3661 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3662 get { return new uint2(x, w); }
3663 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3664 set { x = value.x; w = value.y; }
3665 }
3666
3667
3668 /// <summary>Swizzles the vector.</summary>
3669 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3670 public uint2 yx
3671 {
3672 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3673 get { return new uint2(y, x); }
3674 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3675 set { y = value.x; x = value.y; }
3676 }
3677
3678
3679 /// <summary>Swizzles the vector.</summary>
3680 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3681 public uint2 yy
3682 {
3683 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3684 get { return new uint2(y, y); }
3685 }
3686
3687
3688 /// <summary>Swizzles the vector.</summary>
3689 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3690 public uint2 yz
3691 {
3692 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3693 get { return new uint2(y, z); }
3694 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3695 set { y = value.x; z = value.y; }
3696 }
3697
3698
3699 /// <summary>Swizzles the vector.</summary>
3700 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3701 public uint2 yw
3702 {
3703 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3704 get { return new uint2(y, w); }
3705 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3706 set { y = value.x; w = value.y; }
3707 }
3708
3709
3710 /// <summary>Swizzles the vector.</summary>
3711 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3712 public uint2 zx
3713 {
3714 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3715 get { return new uint2(z, x); }
3716 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3717 set { z = value.x; x = value.y; }
3718 }
3719
3720
3721 /// <summary>Swizzles the vector.</summary>
3722 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3723 public uint2 zy
3724 {
3725 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3726 get { return new uint2(z, y); }
3727 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3728 set { z = value.x; y = value.y; }
3729 }
3730
3731
3732 /// <summary>Swizzles the vector.</summary>
3733 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3734 public uint2 zz
3735 {
3736 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3737 get { return new uint2(z, z); }
3738 }
3739
3740
3741 /// <summary>Swizzles the vector.</summary>
3742 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3743 public uint2 zw
3744 {
3745 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3746 get { return new uint2(z, w); }
3747 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3748 set { z = value.x; w = value.y; }
3749 }
3750
3751
3752 /// <summary>Swizzles the vector.</summary>
3753 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3754 public uint2 wx
3755 {
3756 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3757 get { return new uint2(w, x); }
3758 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3759 set { w = value.x; x = value.y; }
3760 }
3761
3762
3763 /// <summary>Swizzles the vector.</summary>
3764 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3765 public uint2 wy
3766 {
3767 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3768 get { return new uint2(w, y); }
3769 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3770 set { w = value.x; y = value.y; }
3771 }
3772
3773
3774 /// <summary>Swizzles the vector.</summary>
3775 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3776 public uint2 wz
3777 {
3778 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3779 get { return new uint2(w, z); }
3780 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3781 set { w = value.x; z = value.y; }
3782 }
3783
3784
3785 /// <summary>Swizzles the vector.</summary>
3786 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
3787 public uint2 ww
3788 {
3789 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3790 get { return new uint2(w, w); }
3791 }
3792
3793
3794
3795 /// <summary>Returns the uint element at a specified index.</summary>
3796 unsafe public uint this[int index]
3797 {
3798 get
3799 {
3800#if ENABLE_UNITY_COLLECTIONS_CHECKS
3801 if ((uint)index >= 4)
3802 throw new System.ArgumentException("index must be between[0...3]");
3803#endif
3804 fixed (uint4* array = &this) { return ((uint*)array)[index]; }
3805 }
3806 set
3807 {
3808#if ENABLE_UNITY_COLLECTIONS_CHECKS
3809 if ((uint)index >= 4)
3810 throw new System.ArgumentException("index must be between[0...3]");
3811#endif
3812 fixed (uint* array = &x) { array[index] = value; }
3813 }
3814 }
3815
3816 /// <summary>Returns true if the uint4 is equal to a given uint4, false otherwise.</summary>
3817 /// <param name="rhs">Right hand side argument to compare equality with.</param>
3818 /// <returns>The result of the equality comparison.</returns>
3819 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3820 public bool Equals(uint4 rhs) { return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w; }
3821
3822 /// <summary>Returns true if the uint4 is equal to a given uint4, false otherwise.</summary>
3823 /// <param name="o">Right hand side argument to compare equality with.</param>
3824 /// <returns>The result of the equality comparison.</returns>
3825 public override bool Equals(object o) { return o is uint4 converted && Equals(converted); }
3826
3827
3828 /// <summary>Returns a hash code for the uint4.</summary>
3829 /// <returns>The computed hash code.</returns>
3830 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3831 public override int GetHashCode() { return (int)math.hash(this); }
3832
3833
3834 /// <summary>Returns a string representation of the uint4.</summary>
3835 /// <returns>String representation of the value.</returns>
3836 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3837 public override string ToString()
3838 {
3839 return string.Format("uint4({0}, {1}, {2}, {3})", x, y, z, w);
3840 }
3841
3842 /// <summary>Returns a string representation of the uint4 using a specified format and culture-specific format information.</summary>
3843 /// <param name="format">Format string to use during string formatting.</param>
3844 /// <param name="formatProvider">Format provider to use during string formatting.</param>
3845 /// <returns>String representation of the value.</returns>
3846 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3847 public string ToString(string format, IFormatProvider formatProvider)
3848 {
3849 return string.Format("uint4({0}, {1}, {2}, {3})", x.ToString(format, formatProvider), y.ToString(format, formatProvider), z.ToString(format, formatProvider), w.ToString(format, formatProvider));
3850 }
3851
3852 internal sealed class DebuggerProxy
3853 {
3854 public uint x;
3855 public uint y;
3856 public uint z;
3857 public uint w;
3858 public DebuggerProxy(uint4 v)
3859 {
3860 x = v.x;
3861 y = v.y;
3862 z = v.z;
3863 w = v.w;
3864 }
3865 }
3866
3867 }
3868
3869 public static partial class math
3870 {
3871 /// <summary>Returns a uint4 vector constructed from four uint values.</summary>
3872 /// <param name="x">The constructed vector's x component will be set to this value.</param>
3873 /// <param name="y">The constructed vector's y component will be set to this value.</param>
3874 /// <param name="z">The constructed vector's z component will be set to this value.</param>
3875 /// <param name="w">The constructed vector's w component will be set to this value.</param>
3876 /// <returns>uint4 constructed from arguments.</returns>
3877 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3878 public static uint4 uint4(uint x, uint y, uint z, uint w) { return new uint4(x, y, z, w); }
3879
3880 /// <summary>Returns a uint4 vector constructed from two uint values and a uint2 vector.</summary>
3881 /// <param name="x">The constructed vector's x component will be set to this value.</param>
3882 /// <param name="y">The constructed vector's y component will be set to this value.</param>
3883 /// <param name="zw">The constructed vector's zw components will be set to this value.</param>
3884 /// <returns>uint4 constructed from arguments.</returns>
3885 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3886 public static uint4 uint4(uint x, uint y, uint2 zw) { return new uint4(x, y, zw); }
3887
3888 /// <summary>Returns a uint4 vector constructed from a uint value, a uint2 vector and a uint value.</summary>
3889 /// <param name="x">The constructed vector's x component will be set to this value.</param>
3890 /// <param name="yz">The constructed vector's yz components will be set to this value.</param>
3891 /// <param name="w">The constructed vector's w component will be set to this value.</param>
3892 /// <returns>uint4 constructed from arguments.</returns>
3893 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3894 public static uint4 uint4(uint x, uint2 yz, uint w) { return new uint4(x, yz, w); }
3895
3896 /// <summary>Returns a uint4 vector constructed from a uint value and a uint3 vector.</summary>
3897 /// <param name="x">The constructed vector's x component will be set to this value.</param>
3898 /// <param name="yzw">The constructed vector's yzw components will be set to this value.</param>
3899 /// <returns>uint4 constructed from arguments.</returns>
3900 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3901 public static uint4 uint4(uint x, uint3 yzw) { return new uint4(x, yzw); }
3902
3903 /// <summary>Returns a uint4 vector constructed from a uint2 vector and two uint values.</summary>
3904 /// <param name="xy">The constructed vector's xy components will be set to this value.</param>
3905 /// <param name="z">The constructed vector's z component will be set to this value.</param>
3906 /// <param name="w">The constructed vector's w component will be set to this value.</param>
3907 /// <returns>uint4 constructed from arguments.</returns>
3908 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3909 public static uint4 uint4(uint2 xy, uint z, uint w) { return new uint4(xy, z, w); }
3910
3911 /// <summary>Returns a uint4 vector constructed from two uint2 vectors.</summary>
3912 /// <param name="xy">The constructed vector's xy components will be set to this value.</param>
3913 /// <param name="zw">The constructed vector's zw components will be set to this value.</param>
3914 /// <returns>uint4 constructed from arguments.</returns>
3915 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3916 public static uint4 uint4(uint2 xy, uint2 zw) { return new uint4(xy, zw); }
3917
3918 /// <summary>Returns a uint4 vector constructed from a uint3 vector and a uint value.</summary>
3919 /// <param name="xyz">The constructed vector's xyz components will be set to this value.</param>
3920 /// <param name="w">The constructed vector's w component will be set to this value.</param>
3921 /// <returns>uint4 constructed from arguments.</returns>
3922 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3923 public static uint4 uint4(uint3 xyz, uint w) { return new uint4(xyz, w); }
3924
3925 /// <summary>Returns a uint4 vector constructed from a uint4 vector.</summary>
3926 /// <param name="xyzw">The constructed vector's xyzw components will be set to this value.</param>
3927 /// <returns>uint4 constructed from arguments.</returns>
3928 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3929 public static uint4 uint4(uint4 xyzw) { return new uint4(xyzw); }
3930
3931 /// <summary>Returns a uint4 vector constructed from a single uint value by assigning it to every component.</summary>
3932 /// <param name="v">uint to convert to uint4</param>
3933 /// <returns>Converted value.</returns>
3934 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3935 public static uint4 uint4(uint v) { return new uint4(v); }
3936
3937 /// <summary>Returns a uint4 vector constructed from a single bool value by converting it to uint and assigning it to every component.</summary>
3938 /// <param name="v">bool to convert to uint4</param>
3939 /// <returns>Converted value.</returns>
3940 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3941 public static uint4 uint4(bool v) { return new uint4(v); }
3942
3943 /// <summary>Return a uint4 vector constructed from a bool4 vector by componentwise conversion.</summary>
3944 /// <param name="v">bool4 to convert to uint4</param>
3945 /// <returns>Converted value.</returns>
3946 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3947 public static uint4 uint4(bool4 v) { return new uint4(v); }
3948
3949 /// <summary>Returns a uint4 vector constructed from a single int value by converting it to uint and assigning it to every component.</summary>
3950 /// <param name="v">int to convert to uint4</param>
3951 /// <returns>Converted value.</returns>
3952 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3953 public static uint4 uint4(int v) { return new uint4(v); }
3954
3955 /// <summary>Return a uint4 vector constructed from a int4 vector by componentwise conversion.</summary>
3956 /// <param name="v">int4 to convert to uint4</param>
3957 /// <returns>Converted value.</returns>
3958 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3959 public static uint4 uint4(int4 v) { return new uint4(v); }
3960
3961 /// <summary>Returns a uint4 vector constructed from a single float value by converting it to uint and assigning it to every component.</summary>
3962 /// <param name="v">float to convert to uint4</param>
3963 /// <returns>Converted value.</returns>
3964 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3965 public static uint4 uint4(float v) { return new uint4(v); }
3966
3967 /// <summary>Return a uint4 vector constructed from a float4 vector by componentwise conversion.</summary>
3968 /// <param name="v">float4 to convert to uint4</param>
3969 /// <returns>Converted value.</returns>
3970 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3971 public static uint4 uint4(float4 v) { return new uint4(v); }
3972
3973 /// <summary>Returns a uint4 vector constructed from a single double value by converting it to uint and assigning it to every component.</summary>
3974 /// <param name="v">double to convert to uint4</param>
3975 /// <returns>Converted value.</returns>
3976 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3977 public static uint4 uint4(double v) { return new uint4(v); }
3978
3979 /// <summary>Return a uint4 vector constructed from a double4 vector by componentwise conversion.</summary>
3980 /// <param name="v">double4 to convert to uint4</param>
3981 /// <returns>Converted value.</returns>
3982 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3983 public static uint4 uint4(double4 v) { return new uint4(v); }
3984
3985 /// <summary>Returns a uint hash code of a uint4 vector.</summary>
3986 /// <param name="v">Vector value to hash.</param>
3987 /// <returns>uint hash of the argument.</returns>
3988 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3989 public static uint hash(uint4 v)
3990 {
3991 return csum(v * uint4(0xB492BF15u, 0xD37220E3u, 0x7AA2C2BDu, 0xE16BC89Du)) + 0x7AA07CD3u;
3992 }
3993
3994 /// <summary>
3995 /// Returns a uint4 vector hash code of a uint4 vector.
3996 /// When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
3997 /// that are only reduced to a narrow uint hash at the very end instead of at every step.
3998 /// </summary>
3999 /// <param name="v">Vector value to hash.</param>
4000 /// <returns>uint4 hash of the argument.</returns>
4001 [MethodImpl(MethodImplOptions.AggressiveInlining)]
4002 public static uint4 hashwide(uint4 v)
4003 {
4004 return (v * uint4(0xAF642BA9u, 0xA8F2213Bu, 0x9F3FDC37u, 0xAC60D0C3u)) + 0x9263662Fu;
4005 }
4006
4007 /// <summary>Returns the result of specified shuffling of the components from two uint4 vectors into a uint value.</summary>
4008 /// <param name="left">uint4 to use as the left argument of the shuffle operation.</param>
4009 /// <param name="right">uint4 to use as the right argument of the shuffle operation.</param>
4010 /// <param name="x">The ShuffleComponent to use when setting the resulting uint.</param>
4011 /// <returns>uint result of the shuffle operation.</returns>
4012 [MethodImpl(MethodImplOptions.AggressiveInlining)]
4013 public static uint shuffle(uint4 left, uint4 right, ShuffleComponent x)
4014 {
4015 return select_shuffle_component(left, right, x);
4016 }
4017
4018 /// <summary>Returns the result of specified shuffling of the components from two uint4 vectors into a uint2 vector.</summary>
4019 /// <param name="left">uint4 to use as the left argument of the shuffle operation.</param>
4020 /// <param name="right">uint4 to use as the right argument of the shuffle operation.</param>
4021 /// <param name="x">The ShuffleComponent to use when setting the resulting uint2 x component.</param>
4022 /// <param name="y">The ShuffleComponent to use when setting the resulting uint2 y component.</param>
4023 /// <returns>uint2 result of the shuffle operation.</returns>
4024 [MethodImpl(MethodImplOptions.AggressiveInlining)]
4025 public static uint2 shuffle(uint4 left, uint4 right, ShuffleComponent x, ShuffleComponent y)
4026 {
4027 return uint2(
4028 select_shuffle_component(left, right, x),
4029 select_shuffle_component(left, right, y));
4030 }
4031
4032 /// <summary>Returns the result of specified shuffling of the components from two uint4 vectors into a uint3 vector.</summary>
4033 /// <param name="left">uint4 to use as the left argument of the shuffle operation.</param>
4034 /// <param name="right">uint4 to use as the right argument of the shuffle operation.</param>
4035 /// <param name="x">The ShuffleComponent to use when setting the resulting uint3 x component.</param>
4036 /// <param name="y">The ShuffleComponent to use when setting the resulting uint3 y component.</param>
4037 /// <param name="z">The ShuffleComponent to use when setting the resulting uint3 z component.</param>
4038 /// <returns>uint3 result of the shuffle operation.</returns>
4039 [MethodImpl(MethodImplOptions.AggressiveInlining)]
4040 public static uint3 shuffle(uint4 left, uint4 right, ShuffleComponent x, ShuffleComponent y, ShuffleComponent z)
4041 {
4042 return uint3(
4043 select_shuffle_component(left, right, x),
4044 select_shuffle_component(left, right, y),
4045 select_shuffle_component(left, right, z));
4046 }
4047
4048 /// <summary>Returns the result of specified shuffling of the components from two uint4 vectors into a uint4 vector.</summary>
4049 /// <param name="left">uint4 to use as the left argument of the shuffle operation.</param>
4050 /// <param name="right">uint4 to use as the right argument of the shuffle operation.</param>
4051 /// <param name="x">The ShuffleComponent to use when setting the resulting uint4 x component.</param>
4052 /// <param name="y">The ShuffleComponent to use when setting the resulting uint4 y component.</param>
4053 /// <param name="z">The ShuffleComponent to use when setting the resulting uint4 z component.</param>
4054 /// <param name="w">The ShuffleComponent to use when setting the resulting uint4 w component.</param>
4055 /// <returns>uint4 result of the shuffle operation.</returns>
4056 [MethodImpl(MethodImplOptions.AggressiveInlining)]
4057 public static uint4 shuffle(uint4 left, uint4 right, ShuffleComponent x, ShuffleComponent y, ShuffleComponent z, ShuffleComponent w)
4058 {
4059 return uint4(
4060 select_shuffle_component(left, right, x),
4061 select_shuffle_component(left, right, y),
4062 select_shuffle_component(left, right, z),
4063 select_shuffle_component(left, right, w));
4064 }
4065
4066 [MethodImpl(MethodImplOptions.AggressiveInlining)]
4067 internal static uint select_shuffle_component(uint4 a, uint4 b, ShuffleComponent component)
4068 {
4069 switch(component)
4070 {
4071 case ShuffleComponent.LeftX:
4072 return a.x;
4073 case ShuffleComponent.LeftY:
4074 return a.y;
4075 case ShuffleComponent.LeftZ:
4076 return a.z;
4077 case ShuffleComponent.LeftW:
4078 return a.w;
4079 case ShuffleComponent.RightX:
4080 return b.x;
4081 case ShuffleComponent.RightY:
4082 return b.y;
4083 case ShuffleComponent.RightZ:
4084 return b.z;
4085 case ShuffleComponent.RightW:
4086 return b.w;
4087 default:
4088 throw new System.ArgumentException("Invalid shuffle component: " + component);
4089 }
4090 }
4091
4092 }
4093}