Ryujinx/src/Ryujinx.Graphics.GAL/BufferHandle.cs
2023-04-27 23:51:14 +02:00

14 lines
354 B
C#

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 BufferHandle(0);
private BufferHandle(ulong value) => _value = value;
}
}