1 2 3 4 5 6 7 8 9 10 11 12 13 14
using System.Runtime.InteropServices; namespace Ryujinx.Graphics.GAL { [StructLayout(LayoutKind.Sequential, Size = 8)] public readonly record struct BufferHandle { private readonly ulong _value; public static BufferHandle Null => new(0); private BufferHandle(ulong value) => _value = value; } }