oidn-rs
oidn-rs copied to clipboard
Expose the concept of buffers
This PR creates a new file that contains a wrapper around the oidn buffer adding as_raw
and from_raw
functions for both the device and the buffer so that users can specially create these for compatibility with the user's chosen API (e.g vulkan, dx12, metal ect...) .
This PR is only partially tested, I will continue testing but I wanted to show the concept.