blckngm / webview2

Rust bindings for WebView2
MIT License
73 stars 12 forks source link

Expose the CoreWebView2SharedBuffer APIs #21

Open rajsite opened 1 year ago

rajsite commented 1 year ago

Is it possible to access / add support for the CoreWebView2 SharedBuffer APIs, i.e. CreateSharedBuffer and friends?

Think it would be useful for efficient communication of some buffer content (frames rendered on a webgl canvas).

blckngm commented 1 year ago

This should be possible by upgrading the idl and generating the bindings.

But I might not have time to work on this myself.

You may also want to take a look at other windows/webview2 bindings. Haven't payed attention to windows and webview2 in a while.