Add support for iOS and macOS via MoltenVK.
This commit is contained in:
parent
ac0a4989bd
commit
626ab5803f
40 changed files with 1829 additions and 1 deletions
64
xcode/README_MoltenVK_Examples.md
Executable file
64
xcode/README_MoltenVK_Examples.md
Executable file
|
|
@ -0,0 +1,64 @@
|
|||
<a class="site-logo" href="https://www.moltengl.com/moltenvk/" title="MoltenVK">
|
||||
<img src="images/MoltenVK-Logo-Banner.png" alt="MoltenVK Home" style="width:256px;height:auto">
|
||||
</a>
|
||||
|
||||
#MoltenVK Vulkan Examples
|
||||
|
||||
Copyright (c) 2014-2017 [The Brenwill Workshop Ltd.](http://www.brenwill.com) All rights reserved.
|
||||
|
||||
*This document is written in [Markdown](http://en.wikipedia.org/wiki/Markdown) format.
|
||||
For best results, use a Markdown reader.*
|
||||
|
||||
|
||||
<a name="intro"></a>
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
The *Xcode* project in this folder builds and runs the *Vulkan* examples in this
|
||||
repository on *iOS* and *macOS*, using the **MoltenVK** *Vulkan* driver.
|
||||
|
||||
|
||||
|
||||
<a name="installing-moltenvk"></a>
|
||||
|
||||
Installing MoltenVK
|
||||
-------------------
|
||||
|
||||
The examples in this repository can be run on *iOS* and *macOS* by using
|
||||
the [**MoltenVK**](http://www.moltengl.com/moltenvk/) *Vulkan* driver.
|
||||
Follow these instructions to install **MoltenVK**:
|
||||
|
||||
1. [Download](https://moltengl.com/free-trial/) the **Molten** free evaluation trial.
|
||||
This free trial includes **MoltenVK**, is full-featured, and is not time-limited.
|
||||
You must purchase a license if you wish to use **MoltenVK** for a production
|
||||
application or game, but you can use the evaluation version to run these examples.
|
||||
|
||||
2. Unzip the **Molten** package, and move it to a folder outside this repository.
|
||||
|
||||
3. Open a *Terminal* session and navigate to the directory containing this document,
|
||||
remove the existing `MoltenVK` symbolic link in this directory, and create a new
|
||||
symbolic link pointing to the `MoltenVK` directory in the **Molten** package:
|
||||
|
||||
cd path-to-this-directory
|
||||
rm MoltenVK
|
||||
ln -s path-to-Molten-package/MoltenVK
|
||||
|
||||
|
||||
<a name="running-examples"></a>
|
||||
|
||||
Running the Vulkan Examples
|
||||
---------------------------
|
||||
|
||||
The single `examples.xcodeproj` *Xcode* project can be used to run any of the examples
|
||||
in this repository on either *iOS* or *macOS*. To do so, follow these instructions:
|
||||
|
||||
1. Open the `examples.xcodeproj` *Xcode* project.
|
||||
|
||||
2. Specify which of the many examples within this respository you wish to run, by opening
|
||||
the `examples.h` file within *Xcode*, and following the instructions in the comments
|
||||
within that file to indicate which of the examples you wish to run.
|
||||
|
||||
3. Run either the `examples-iOS` or `examples-macOS` *Xcode Scheme* to run the example in *iOS*
|
||||
or *macOS*, repectively.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue