Vertex buffer data

This commit is contained in:
Isaac Marovitz 2023-10-10 19:02:38 -04:00 committed by Isaac Marovitz
parent 7f41e7dbd4
commit 2890fc1069
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,14 @@
using Ryujinx.Graphics.GAL;
using System;
using System.Runtime.CompilerServices;
namespace Ryujinx.Graphics.Metal
{
static class Handle
{
public static IntPtr ToIntPtr(this BufferHandle handle)
{
return Unsafe.As<BufferHandle, IntPtr>(ref handle);
}
}
}