diff --git a/src/Refresh.cs b/src/Refresh.cs index fb33caa..e3ae9ae 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -718,6 +718,22 @@ namespace RefreshCS uint sizeInBytes ); + /* Debug Naming */ + + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern void Refresh_SetGpuBufferName( + IntPtr device, + IntPtr buffer, + [MarshalAs(UnmanagedType.LPUTF8Str)] string text + ); + + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern void Refresh_SetTextureName( + IntPtr device, + IntPtr texture, + [MarshalAs(UnmanagedType.LPUTF8Str)] string text + ); + /* Disposal */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]