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