Debug Name API
parent
1bf28f4397
commit
995a54fa2d
|
@ -718,6 +718,22 @@ namespace RefreshCS
|
||||||
uint sizeInBytes
|
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 */
|
/* Disposal */
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
|
Loading…
Reference in New Issue