mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 07:00:46 -07:00
Move solution and projects to src
This commit is contained in:
14
src/Ryujinx.Graphics.GAL/BufferHandle.cs
Normal file
14
src/Ryujinx.Graphics.GAL/BufferHandle.cs
Normal file
@ -0,0 +1,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 BufferHandle(0);
|
||||
|
||||
private BufferHandle(ulong value) => _value = value;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user