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