Bill Hollings 107be116b7 Add support for VK_PRESENT_MODE_IMMEDIATE_KHR to macOS Cube demo.
- Only log performance stats on FPS logging if logging style is explicitly
  set to MVK_CONFIG_ACTIVITY_PERFORMANCE_LOGGING_STYLE_FRAME_COUNT (unrelated).
2023-05-30 21:11:02 -04:00
..

MoltenVK

#MoltenVK Demo Projects

Copyright (c) 2015-2023 The Brenwill Workshop Ltd.

Table of Contents

Cube

The basic canonical Cube sample app from the Vulkan-Tools repository is included in this MoltenVK package.

This demo renders a basic textured cube that spins in place.

The demo can be found in the Cube folder, and in the Cube group in the Xcode Project Navigator in the Demos.xcworkspace Xcode workspace.

To run this demo, run the Cube-iOS, Cube-tvOS, or Cube-macOS Scheme from within Xcode. In addition to devices, this demo will also run on the iOS Simulator or tvOS Simulator destinations.

The Cube demo is a simple example of installing MoltenVK as an XCFramework that is statically linked to the application. It supports all platforms, including Mac Catalyst, iOS Simulator and tvOS Simulator, and all architectures including Apple Silicon.

Khronos Vulkan Samples

Khronos Group provides a repository containing a full suite of standard Vulkan samples that run on MoltenVK on macOS.