Vertex buffer data
This commit is contained in:
parent
7f41e7dbd4
commit
2890fc1069
2 changed files with 29 additions and 0 deletions
14
src/Ryujinx.Graphics.Metal/Handle.cs
Normal file
14
src/Ryujinx.Graphics.Metal/Handle.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue