1635 行
103 KiB
C#
1635 行
103 KiB
C#
using System;
|
|
using System.Globalization;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
#if !NET6_0_OR_GREATER
|
|
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
|
|
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
|
|
#endif
|
|
|
|
#nullable enable
|
|
#pragma warning disable CS0660, CS0661
|
|
|
|
namespace ComputeSharp;
|
|
|
|
/// <inheritdoc cref="Int3"/>
|
|
[StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)]
|
|
public unsafe partial struct Int3
|
|
#if NET6_0_OR_GREATER
|
|
: ISpanFormattable
|
|
#endif
|
|
{
|
|
/// <summary>
|
|
/// A private buffer to which the undefined properties will point to.
|
|
/// </summary>
|
|
private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Int3), sizeof(Int4));
|
|
|
|
[FieldOffset(0)]
|
|
private int x;
|
|
|
|
[FieldOffset(4)]
|
|
private int y;
|
|
|
|
[FieldOffset(8)]
|
|
private int z;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to a specific component in the current <see cref="Int3"/> instance.
|
|
/// </summary>
|
|
/// <param name="i">The index of the component to access.</param>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref int this[int i] => ref *(int*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with all components set to 0.
|
|
/// </summary>
|
|
public static Int3 Zero => 0;
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with all components set to 1.
|
|
/// </summary>
|
|
public static Int3 One => 1;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="int"/> value representing the <c>X</c> component.
|
|
/// </summary>
|
|
public readonly ref int X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.AsRef(in this.x), 1));
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="int"/> value representing the <c>Y</c> component.
|
|
/// </summary>
|
|
public readonly ref int Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.AsRef(in this.y), 1));
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="int"/> value representing the <c>Z</c> component.
|
|
/// </summary>
|
|
public readonly ref int Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.AsRef(in this.z), 1));
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int2 XX => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 XY => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 XZ => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 YX => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int2 YY => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 YZ => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 ZX => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 ZY => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int2 ZZ => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 XXX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 XXY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 XXZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 XYX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 XYY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 XYZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 XZX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 XZY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 XZZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 YXX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 YXY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 YXZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 YYX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 YYY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 YYZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 YZX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 YZY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 YZZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 ZXX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 ZXY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 ZXZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 ZYX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 ZYY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 ZYZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 ZZX => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 ZZY => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 ZZZ => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XXZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XYZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 XZZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YXZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YYZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 YZZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZXZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZYZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZXX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZXY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZXZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZYX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZYY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZYZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZZX => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZZY => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 ZZZZ => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="int"/> value representing the <c>R</c> component.
|
|
/// </summary>
|
|
public readonly ref int R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.AsRef(in this.x), 1));
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="int"/> value representing the <c>G</c> component.
|
|
/// </summary>
|
|
public readonly ref int G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.AsRef(in this.y), 1));
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="int"/> value representing the <c>B</c> component.
|
|
/// </summary>
|
|
public readonly ref int B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.AsRef(in this.z), 1));
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int2 RR => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 RG => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 RB => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 GR => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int2 GG => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 GB => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 BR => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int2 BG => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int2 BB => ref *(Int2*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 RRR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 RRG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 RRB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 RGR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 RGG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 RGB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 RBR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 RBG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 RBB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 GRR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 GRG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 GRB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 GGR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 GGG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 GGB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 GBR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 GBG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 GBB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 BRR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 BRG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 BRB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref Int3 BGR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 BGG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 BGB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 BBR => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 BBG => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int3 BBB => ref *(Int3*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RRBB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RGBB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 RBBB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GRBB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GGBB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 GBBB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BRBB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BGBB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBRR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBRG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBRB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBGR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBGG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBGB => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBBR => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBBG => ref *(Int4*)UndefinedData;
|
|
|
|
/// <summary>
|
|
/// Gets a readonly reference to the <see cref="Int4"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public readonly ref readonly Int4 BBBB => ref *(Int4*)UndefinedData;
|
|
|
|
#if !SOURCE_GENERATOR
|
|
|
|
/// <inheritdoc/>
|
|
public override readonly string ToString()
|
|
{
|
|
string separator = NumberFormatInfo.CurrentInfo.NumberGroupSeparator;
|
|
|
|
#if NET6_0_OR_GREATER
|
|
return string.Create(null, stackalloc char[64], $"<{this.x}{separator} {this.y}{separator} {this.z}>");
|
|
#else
|
|
return $"<{this.x}{separator} {this.y}{separator} {this.z}>";
|
|
#endif
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public readonly string ToString(string? format, IFormatProvider? formatProvider)
|
|
{
|
|
string separator = NumberFormatInfo.GetInstance(formatProvider).NumberGroupSeparator;
|
|
|
|
return FormatInterpolatedStringHandler.Create(
|
|
format,
|
|
formatProvider,
|
|
stackalloc char[64],
|
|
$"<{this.x}{separator} {this.y}{separator} {this.z}>");
|
|
}
|
|
|
|
/// <inheritdoc/>
|
|
public readonly bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format, IFormatProvider? provider)
|
|
{
|
|
string separator = NumberFormatInfo.GetInstance(provider).NumberGroupSeparator;
|
|
|
|
return TryWriteFormatInterpolatedStringHandler.TryWrite(
|
|
destination,
|
|
format,
|
|
provider,
|
|
$"<{this.x}{separator} {this.y}{separator} {this.z}>",
|
|
out charsWritten);
|
|
}
|
|
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// Negates a <see cref="Int3"/> value.
|
|
/// </summary>
|
|
/// <param name="xyz">The <see cref="Int3"/> value to negate.</param>
|
|
/// <returns>The negated value of <paramref name="xyz"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Int3 operator -(Int3 xyz) => default;
|
|
|
|
/// <summary>
|
|
/// Sums two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to sum.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to sum.</param>
|
|
/// <returns>The result of adding <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Int3 operator +(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Divides two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to divide.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to divide.</param>
|
|
/// <returns>The result of dividing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Int3 operator /(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Calculates the remainder of the division between two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to divide.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to divide.</param>
|
|
/// <returns>The remainder of dividing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Int3 operator %(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Multiplies two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to multiply.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to multiply.</param>
|
|
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Int3 operator *(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Subtracts two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to subtract.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to subtract.</param>
|
|
/// <returns>The result of subtracting <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Int3 operator -(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Compares two <see cref="Int3"/> values to see if the first is greater than the second.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to compare.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to compare.</param>
|
|
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Bool3 operator >(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Compares two <see cref="Int3"/> values to see if the first is greater than or equal to the second.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to compare.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to compare.</param>
|
|
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Bool3 operator >=(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Compares two <see cref="Int3"/> values to see if the first is lower than the second.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to compare.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to compare.</param>
|
|
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Bool3 operator <(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Compares two <see cref="Int3"/> values to see if the first is lower than or equal to the second.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to compare.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to compare.</param>
|
|
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Bool3 operator <=(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Compares two <see cref="Int3"/> values to see if they are equal.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to compare.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to compare.</param>
|
|
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Bool3 operator ==(Int3 left, Int3 right) => default;
|
|
|
|
/// <summary>
|
|
/// Compares two <see cref="Int3"/> values to see if they are not equal.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to compare.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to compare.</param>
|
|
/// <returns>The result of comparing <paramref name="left"/> and <paramref name="right"/>.</returns>
|
|
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
|
public static Bool3 operator !=(Int3 left, Int3 right) => default;
|
|
}
|