CoreWebView2TextureStream.CreateTexture(UInt32, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates texture buffer that the host can write to for the browser rendering.
public Microsoft.Web.WebView2.Core.CoreWebView2Texture CreateTexture (uint widthInTexels, uint heightInTexels);
member this.CreateTexture : uint32 * uint32 -> Microsoft.Web.WebView2.Core.CoreWebView2Texture
Public Function CreateTexture (widthInTexels As UInteger, heightInTexels As UInteger) As CoreWebView2Texture
Parameters
- widthInTexels
- UInt32
- heightInTexels
- UInt32