|
@@ -25,6 +25,7 @@
|
|
|
@class MTLRenderPassDescriptor;
|
|
|
@protocol MTLDevice, MTLCommandBuffer, MTLRenderCommandEncoder;
|
|
|
|
|
|
+// Follow "Getting Started" link and check examples/ folder to learn about using backends!
|
|
|
IMGUI_IMPL_API bool ImGui_ImplMetal_Init(id<MTLDevice> device);
|
|
|
IMGUI_IMPL_API void ImGui_ImplMetal_Shutdown();
|
|
|
IMGUI_IMPL_API void ImGui_ImplMetal_NewFrame(MTLRenderPassDescriptor* renderPassDescriptor);
|
|
@@ -51,6 +52,7 @@ IMGUI_IMPL_API void ImGui_ImplMetal_DestroyDeviceObjects();
|
|
|
#include <Metal/Metal.hpp>
|
|
|
#ifndef __OBJC__
|
|
|
|
|
|
+// Follow "Getting Started" link and check examples/ folder to learn about using backends!
|
|
|
IMGUI_IMPL_API bool ImGui_ImplMetal_Init(MTL::Device* device);
|
|
|
IMGUI_IMPL_API void ImGui_ImplMetal_Shutdown();
|
|
|
IMGUI_IMPL_API void ImGui_ImplMetal_NewFrame(MTL::RenderPassDescriptor* renderPassDescriptor);
|