CoreWebView2TextureStream.CreateTexture(UInt32, UInt32) Method

Definition

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

Returns

Applies to