mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2026-03-18 04:43:29 +09:00
15 lines
338 B
C#
15 lines
338 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(0);
|
|
|
|
private BufferHandle(ulong value) => _value = value;
|
|
}
|
|
}
|