#d3d12 #pix #d3d #api-client #directx-12 #winpix

pixwrapper

A tiny library that exposes bindings to PIX on Windows graphics debugger/profiler client API

4 releases

0.1.3 Feb 4, 2021
0.1.2 Jul 3, 2020
0.1.1 Jun 30, 2020
0.1.0 Jun 30, 2020

#671 in Graphics APIs


Used in dx12bindings

GPL-3.0 license

5KB
80 lines

PIX Wrapper

This library wraps PIX event runtime API so that it can be used from Rust.
Unfortunately, the original headers are C++-only, and they use templates in such a way that rust-bindgen cannot handle them, so we have to introduce a second layer of indirection - C++ file wrapper.cpp that exposes plain C API, consumable by rust-bindgen, in its header. To build this library, you need to set PIX_RUNTIME_PATH environment variable that would point to your directory with PIX runtime headers/libraries.

No runtime deps

~0–2MB
~37K SLoC