gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 551 forks source link

expose the underlying metal device #3775

Closed ccbrown closed 3 years ago

ccbrown commented 3 years ago

This facilitates the ability to lock and utilize the underlying Metal device directly.

My need is very similar to the one described in https://github.com/gfx-rs/gfx/issues/3698, in which it was mentioned that functionality like this could be added to the individual backends and that PRs were appreciated.

PR checklist:

bors[bot] commented 3 years ago

Build succeeded: