CoreWebView2TextureStream Class
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.
CoreWebView2 Texture Stream.
public class CoreWebView2TextureStream
type CoreWebView2TextureStream = class
Public Class CoreWebView2TextureStream
- Inheritance
-
CoreWebView2TextureStream
Properties
Id |
Retrives texture stream id. |
Methods
AddAllowedOrigin(String, Int32) |
Adds allowed origin for texture stream and web texture stream. |
CloseTexture(CoreWebView2Texture) |
Closes created texture. |
CreateTexture(UInt32, UInt32) |
Creates texture buffer that the host can write to for the browser rendering. |
GetAvailableTexture() |
Gets reusable texture. |
PresentTexture(CoreWebView2Texture) |
Present texture to the browser's renderer. |
RemoveAllowedOrigin(String) |
Removes allowed origin for texture stream and web texture stream. |
SetD3DDevice(Object) |
Sets D3D device with new device. |
Stop() |
Stops presenting texture stream. |
Events
ErrorReceived |
Registers texture stream error event. |
StartRequested |
Registers texture stream request from the Javascript. |
Stopped |
Registers texture stream stopped event. |
WebTextureReceived |
Registers web texture receiving event. |
WebTextureStreamStopped |
Registers web texture stopped event. |