1
0
mirror of https://github.com/Drezil/imgui.git synced 2024-12-21 07:16:34 +00:00
imgui/examples/example_apple_metal
2018-07-16 22:17:34 +02:00
..
example_apple_metal.xcodeproj Introduced a new Metal renderer implementation and a new example illustrating usage of Metal on macOS and iOS (partially addresses ) 2018-07-05 21:58:15 +09:00
iOS Introduced a new Metal renderer implementation and a new example illustrating usage of Metal on macOS and iOS (partially addresses ) 2018-07-05 21:58:15 +09:00
macOS Introduced a new Metal renderer implementation and a new example illustrating usage of Metal on macOS and iOS (partially addresses ) 2018-07-05 21:58:15 +09:00
Shared Examples: Tweaked the main.cpp example structure for all examples. (There are a few hidden agendas here: 1) I would like to avoid encouraging people from using the implicit "Debug" window, and promote using Begin/End. In spite of my best attempt, there are a few feature of the upcoming docking system that cannot work 100% properly for the implicit Debug window, so future proof let's not put that feature in the spotlight too much for new users. 2) Moved dumb hardcoded positions into a single spot that can be replaced with a viewport relative position and not affect other demo windows. 3) Calling ShowDemoWindow before anything else, also for the benefit of a specific docking demo which will have an ordering constraint which is not really problematic in a real app but shouldn't be put forward in the demo. 2018-07-16 22:17:34 +02:00
README.md Examples: Comments + shallow coding convention tweak to be consistent across examples and with imgui_impl_osx 2018-07-08 11:16:11 +02: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.

(NB: you may still want to use GLFW or SDL which will also support Windows, Linux along with OSX.)