2018-03-06 14:07:06 -05:00
|
|
|
<a class="site-logo" href="https://github.com/KhronosGroup/MoltenVK" title="MoltenVK">
|
|
|
|
<img src="../Docs/images/MoltenVK-Logo-Banner.png" alt="MoltenVK" style="width:256px;height:auto">
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#MoltenVK Demo Projects
|
|
|
|
|
2023-01-13 12:19:37 -05:00
|
|
|
Copyright (c) 2015-2023 [The Brenwill Workshop Ltd.](http://www.brenwill.com)
|
2018-03-06 14:07:06 -05:00
|
|
|
|
2021-01-21 14:49:24 -05:00
|
|
|
[comment]: # "This document is written in Markdown (http://en.wikipedia.org/wiki/Markdown) format."
|
|
|
|
[comment]: # "For best results, use a Markdown reader."
|
2018-03-06 14:07:06 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table of Contents
|
|
|
|
-----------------
|
|
|
|
|
2021-03-03 16:43:11 -05:00
|
|
|
- [*Cube*](#vulkan-tools-cube)
|
|
|
|
- [Khronos Vulkan-Samples](#khronos-vulkan-samples)
|
2018-03-06 14:07:06 -05:00
|
|
|
|
|
|
|
|
2021-03-03 16:43:11 -05:00
|
|
|
<a name="vulkan-tools-cube"></a>
|
|
|
|
*Cube*
|
|
|
|
------
|
2018-03-06 14:07:06 -05:00
|
|
|
|
2023-12-18 11:00:35 -05:00
|
|
|
The basic canonical *Cube* sample app from the
|
|
|
|
[*Vulkan-Tools* repository](https://github.com/KhronosGroup/Vulkan-Tools)
|
2021-03-03 16:43:11 -05:00
|
|
|
is included in this **MoltenVK** package.
|
2018-03-06 14:07:06 -05:00
|
|
|
|
2021-03-03 16:43:11 -05:00
|
|
|
This demo renders a basic textured cube that spins in place.
|
2018-03-06 14:07:06 -05:00
|
|
|
|
2023-12-18 11:00:35 -05:00
|
|
|
The demo can be found in the `Cube` folder, and in the `Cube` group in the
|
2021-03-03 16:43:11 -05:00
|
|
|
*Xcode Project Navigator* in the `Demos.xcworkspace` *Xcode* workspace.
|
2018-03-06 14:07:06 -05:00
|
|
|
|
2023-12-18 11:00:35 -05:00
|
|
|
To run this demo, run the `Cube-iOS`, `Cube-tvOS`, or `Cube-macOS` *Scheme* from within *Xcode*.
|
2020-06-23 23:06:08 -04:00
|
|
|
In addition to devices, this demo will also run on the `iOS Simulator` or `tvOS Simulator` destinations.
|
2018-03-06 14:07:06 -05:00
|
|
|
|
2023-12-18 11:00:35 -05:00
|
|
|
The `Cube` demo is a simple example of installing **MoltenVK** as an `XCFramework` that is
|
2020-12-01 19:26:15 -05:00
|
|
|
statically linked to the application. It supports all platforms, including _Mac Catalyst_, _iOS
|
|
|
|
Simulator_ and _tvOS Simulator_, and all architectures including _Apple Silicon_.
|
2018-03-06 14:07:06 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-03-03 16:43:11 -05:00
|
|
|
<a name="khronos-vulkan-samples"></a>
|
|
|
|
*Khronos Vulkan Samples*
|
|
|
|
----------------------
|
2018-03-06 14:07:06 -05:00
|
|
|
|
2023-12-18 11:00:35 -05:00
|
|
|
*Khronos Group* provides a [repository](https://github.com/KhronosGroup/Vulkan-Samples)
|
2021-03-03 16:43:11 -05:00
|
|
|
containing a full suite of standard *Vulkan* samples that run on **MoltenVK** on *macOS*.
|