This repository contains a minimal example of TextureStreams in WebView2 for the purpose of demonstrating a bug in the implementation.
This project creates a WebView2 and then creates a ICoreWebView2ExperimentalTextureStream
; nothing else is done with the texture stream.
This project can be built using Visual Studio 2022 under MSVC v143.
This project has been tested on the following platform:
On this platform webView2Environment->CreateTextureStream(textureStreamID, d3dDevice, &textureStream)
returns an HRESULT
of ERROR_NOT_SUPPORTED (0x80070032)
.