chore: change BufferHolder.GetHandle() to a getter for the handle instead

update/dotnet/10
GreemDev 2025-09-28 00:31:16 -05:00
parent 809127fc6f
commit 1ac66c3d92
1 changed files with 6 additions and 3 deletions

View File

@ -364,10 +364,13 @@ namespace Ryujinx.Graphics.Vulkan
}
}
public BufferHandle GetHandle()
public BufferHandle Handle
{
ulong handle = _bufferHandle;
return Unsafe.As<ulong, BufferHandle>(ref handle);
get
{
ulong handle = _bufferHandle;
return Unsafe.As<ulong, BufferHandle>(ref handle);
}
}
public nint Map(int offset, int mappingSize)