-
Notifications
You must be signed in to change notification settings - Fork 3
Angle using Vulkan backend
This Wiki describes how to compile Urho3D with Angle Vulkan/MoltenVK support enabled.
git clone -b angle-vulkan https://github.com/elix22/Urho3D.git
- Windows 10
- Visual Studio 2017
- CMake version 3.10.2 (might work with other version but have 't been verified)
- Vulkan Run Time Libraries installed on your PC
cmake_vs2017_vulkan.bat - will create an Visual Studio project using the new Vulkan backend
cmake_vs2017_gl.bat - will create an Visual Studio project using the default legacy OpenGL backend
cmake-gui can also be used , URHO3D_ANGLE_VULKAN should be checked in order to enable the Vulkan backend.
- Mac OS minimal version 10.13.6 (High Sierra)
- Xcode minimal version 10.1
- CMake version 3.10.2 (might work with other version but have 't been verified)
- Valid Apple iOS development account if you wish to compile for iOS.
cmake_ios-metal.sh - will create an iOS Xcode project using the new Metal backend
cmake_xcode-metal.sh - will create an Mac Xcode project using the new Metal backend
cmake_ios-gles.sh - will create an iOS Xcode project using the default legacy OpenGL-ES backend
cmake_xcode-gl.sh - will create an Mac Xcode project using the default legacy OpenGL-ES backend
All the scripts will generate Xcode projects configured as debug builds with Metal API validation enabled.
- Choose Legacy Build System .
Menu : File -> Project Settings … -> Build System : Legacy Build System
- Edit the project Scheme , choose the run action.
Menu : Product -> Scheme -> Edit Scheme -> Run
- Select the Info tab , set build configuration to Release.
Info -> Build Configuration : Release
- Still in the Info tab , Debug executable checkbox should be unchecked.
Info -> Debug executable : unchecked
- Select Options tab and disable Metal API Validation.
Options -> Metal API Validation : Disabled