https://github.com/stregasgate/direct3d12
Exposes DirectX 12's low level interface to Swift.
https://github.com/stregasgate/direct3d12
d3d12 direct3d12
Last synced: about 1 year ago
JSON representation
Exposes DirectX 12's low level interface to Swift.
- Host: GitHub
- URL: https://github.com/stregasgate/direct3d12
- Owner: STREGAsGate
- License: apache-2.0
- Created: 2020-12-25T06:45:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-31T04:51:53.000Z (over 4 years ago)
- Last Synced: 2025-04-14T23:54:56.523Z (about 1 year ago)
- Topics: d3d12, direct3d12
- Language: Swift
- Homepage:
- Size: 31.6 MB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Direct3D12 for Swift
[](https://github.com/STREGAsGate/Direct3D12/actions/workflows/Windows%20CI.yml)
[](https://twitter.com/stregasgate)
[](https://youtube.com/stregasgate)
[](https://www.reddit.com/r/stregasgate/)
[](https://discord.gg/5JdRJhD)
This package exposes the DirectX 12 low level API to Swift.
Source files are partitioned and named to mirror the orignal API locations and naming which makes everything easier to locate and maintain based on the original API documentation.
The goal of this package is to translate every API into a Swifty format.
The API is kept similar-ish to the original for familiarity.
Windows stuff like ComPtrs and GUIDs are handled transparently.
A shell version of the original API is available and marked `unavailable` or `deprecated` to allow fast migration. So typing in an original API will result in the compiler providing tips to help migrate your code.
The Swift Setting `Direct3D12ExcludeOriginalStyleAPI` will remove all these helpers when defined and is defined by default for `release` configurations. These helpers have no implementation, they exist to help you migrate to the real API.