Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ImplDx11
- {
- [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, EntryPoint = "ImGui_ImplDX11_Init")]
- public static extern bool Init(IntPtr device);
- [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, EntryPoint = "ImGui_ImplDX11_Shutdown")]
- public static extern void Shutdown();
- [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, EntryPoint = "ImGui_ImplDX11_NewFrame")]
- public static extern void NewFrame();
- [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, EntryPoint = "ImGui_ImplDX11_RenderDrawData")]
- public static extern void RenderDrawData(ImDrawDataPtr drawData);
- [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, EntryPoint = "ImGui_ImplDX11_CreateDeviceObjects")]
- public static extern bool CreateDeviceObjects();
- [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true, EntryPoint = "ImGui_ImplDX11_InvalidateDeviceObjects")]
- public static extern void InvalidateDeviceObjects();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement