/dx12

Layered implment of DirectX 12, that build on Metal on macOS.

Primary LanguageC++MIT LicenseMIT

DX12

Overview

DX12 is a layered implement of DirectX 12, that is build on Metal on macOS.

Features

  • DirectX Graphics Infrastructure
  • DirectX 12
  • COM Smart Pointer

Requirements

Build

Status

CI

Install dependencies

vcpkg install fmt
vcpkg install glslang
vcpkg install spirv-tools
vcpkg install spirv-cross
vcpkg install rapidjson
vcpkg install glfw3
vcpkg install spdlog

Generate Project Files

mkdir build
cmake . -B build -DCMAKE_TOOLCHAIN_FILE=${VCPKG_DIR}/script/buildsystem/vcpkg.cmake

Demos

Clear Render Target View

Triangle