STREGAsGate / Direct3D12

Exposes DirectX 12's low level interface to Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Direct3D12 for Swift

Windows

Twitter YouTube Reddit Discord

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.

About

Exposes DirectX 12's low level interface to Swift.

License:Apache License 2.0


Languages

Language:Swift 100.0%