Giter VIP home page Giter VIP logo

xximgui's Introduction

xxImGui

A simulate Next-Generation Graphic API for ImGui

Library Dependencies

Library Note
imgui https://github.com/ocornut/imgui
freetype2 https://gitlab.freedesktop.org/freetype/freetype
stb https://github.com/nothings/stb
xxGraphic https://github.com/metarutaiga/xxGraphic

Supported Graphic API

API Android iOS macOS Windows Windows on ARM
Direct3D 5.0
Direct3D 6.0
Direct3D 7.0
Direct3D 8.0 🍷
Direct3D 9.0 🍷 🚑
Direct3D 9Ex 🍷 🚑
Direct3D 9On12 🚑
Direct3D 10.0
Direct3D 10.1
Direct3D 11.0
Direct3D 11On12
Direct3D 12.0
Glide 🚑
OpenGL ES 2.0
OpenGL ES 3.0
OpenGL ES 3.1
OpenGL ES 3.2
Mantle 🚑
Metal
Metal 2
Vulkan

Build and Run xxImGui for Windows on macOS

  1. Install wine and llvm (llvm-12 or above for ARM 32bit)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap gcenx/wine
brew install gcenx-wine-staging
brew install llvm
  1. Compile and install lld-link-wrapper and llvm-lib-wrapper
clang++ -Ofast lld-link-wrapper.cpp -o lld-link-wrapper
clang++ -Ofast llvm-lib-wrapper.cpp -o llvm-lib-wrapper
cp lld-link-wrapper /usr/local/opt/llvm/bin
cp llvm-lib-wrapper /usr/local/opt/llvm/bin
  1. Edit build/xxImGui.xcodeproj/xcshareddata/xcschemes/xxImGui (Windows).xcscheme
   <LaunchAction
      buildConfiguration = "Release"
      ...
      allowLocationSimulation = "YES">
      <PathRunnable
         runnableDebuggingMode = "0"
         FilePath = "/usr/local/bin/wine64">
      </PathRunnable>
      <CommandLineArguments>
         <CommandLineArgument
            argument = "xxImGui.exe"
            isEnabled = "YES">
         </CommandLineArgument>
      </CommandLineArguments>
   </LaunchAction>
  1. Set custom working directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.