imgui-mirror/examples/example_apple_metal
xuk 552986072a i18n: fix ImplicitRefSize assertion by passing 0.0f size to merged CJK font
AddFontDefault() uses implicit ref size. Passing an explicit size (13.0f) to
AddFontFromFileTTF() in MergeMode triggers the assertion because the two fonts
use different ref size conventions. Pass 0.0f instead so both fonts share the
same implicit ref size and scale together with style.FontSizeBase.
2026-06-10 17:55:10 +08: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.