mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
Re-organise external-facing headers to be more easily used
* renderdoc/api/replay/ contains all the headers for using the replay and analysis side of renderdoc (like in a UI or auto-testing tool) * renderdoc/api/app/ contains the headers if you wanted to write a renderdoc-aware application.
This commit is contained in:
@@ -62,7 +62,7 @@ namespace renderdoc
|
||||
private static extern void RENDERDOC_LogText(string text);
|
||||
|
||||
[DllImport("renderdoc.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
|
||||
private static extern IntPtr RENDERDOC_GetLogFilename();
|
||||
private static extern IntPtr RENDERDOC_GetLogFile();
|
||||
|
||||
[DllImport("renderdoc.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
|
||||
private static extern bool RENDERDOC_GetThumbnail(string filename, byte[] outmem, ref UInt32 len);
|
||||
@@ -165,7 +165,7 @@ namespace renderdoc
|
||||
|
||||
public static string GetLogFilename()
|
||||
{
|
||||
return Marshal.PtrToStringUni(RENDERDOC_GetLogFilename());
|
||||
return Marshal.PtrToStringUni(RENDERDOC_GetLogFile());
|
||||
}
|
||||
|
||||
public static byte[] GetThumbnail(string filename)
|
||||
|
||||
Reference in New Issue
Block a user