1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-15 00:44:20 +00:00
imgui/examples/example_apple_metal
Pascal Thomet 2df9e9b103 Examples: Apple: add Makefile for example_apple_metal, example_apple_opengl2. (#8637)
- Works only for macOS: use XCode for iOS
- It will produce a raw exe. It will not a produce an macOS application bundle (i.e a folder that includes exe and resources). To get app bundles, use the XCode project.
- An adjustment was required in main.mm (for macOS only), to ensure that the exe can run without any plist or storyboard under macOS
2025-05-14 18:23:31 +02:00
..
example_apple_metal.xcodeproj Examples: update xcode projects. 2025-05-05 18:38:55 +02:00
iOS Examples: Apple: Consolidated example_apple_metal to reduce class and file count (#1873, #3543) 2020-10-23 11:33:08 +02:00
macOS Examples: Apple: Consolidated example_apple_metal to reduce class and file count (#1873, #3543) 2020-10-23 11:33:08 +02:00
main.mm Examples: Apple: add Makefile for example_apple_metal, example_apple_opengl2. (#8637) 2025-05-14 18:23:31 +02:00
Makefile Examples: Apple: add Makefile for example_apple_metal, example_apple_opengl2. (#8637) 2025-05-14 18:23:31 +02:00
README.md Backends+Examples: SDL2: renamed imgui_impl_sdl.cpp/.h to imgui_impl_sdl2.cpp/.h. (#6146) 2023-02-07 12:04:38 +01:00

iOS / OSX Metal example

Introduction

This example shows how to integrate Dear ImGui with Metal. It is based on the "cross-platform" game template provided with Xcode as of Xcode 9.

Consider basing your work off the example_glfw_metal/ or example_sdl2_metal/ examples. They are better supported and will be portable unlike this one.