Crates.io | pixwrapper |
lib.rs | pixwrapper |
version | 0.1.3 |
source | src |
created_at | 2020-06-30 16:09:33.636345 |
updated_at | 2021-02-04 10:56:27.641817 |
description | A tiny library that exposes bindings to PIX on Windows graphics debugger/profiler client API |
homepage | |
repository | |
max_upload_size | |
id | 259883 |
size | 5,556 |
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.