1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-24 23:26:02 +00:00
Ryujinx/src/Ryujinx.Graphics.GAL/BufferHandle.cs
TSRBerry 2989c163a8
editorconfig: Set default encoding to UTF-8 (#5793)
* editorconfig: Add default charset

* Change file encoding from UTF-8-BOM to UTF-8
2023-12-04 14:17:13 +01:00

14 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;
}
}