Skip to content

Commit 96cb732

Browse files
committed
present
1 parent 6a56ff3 commit 96cb732

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Docs/Assets/screenshot.png

84.7 KB
Loading

Package.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// swift-tools-version:5.3
22
import PackageDescription
3-
import Foundation
4-
5-
setenv("SWIFT_GUI_ENABLE_BACKENDS", "vulkan", 1)
63

74
let package = Package(
85
name: "SwiftVulkanDemo",

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# SwiftVulkanDemo
22

3-
A description of this package.
3+
A demo application for using Swift and Vulkan. Tested on Ubuntu 20.04. Porting to other platforms should be possible.
4+
5+
Here is the library for the Vulkan bindings for Swift: [SwiftVulkan](https://github.com/UnGast/SwiftVulkan)
6+
7+
This is the current output of the demo application:
8+
9+
<img src="Docs/Assets/screenshot.png?raw=true" width="500">
10+
11+
Note that on the plane a GUI is rendered. This is done with [SwiftGUI](https://github.com/UnGast/swift-gui) and the [SwiftGUIBackendSkia](https://github.com/UnGast/SwiftGUIBackendSkia). The GUI is rendered to a texture which is then applied to the plane.

0 commit comments

Comments
 (0)