Freigeben über


CoreWebView2TextureStream.SetD3DDevice(Object) Method

Definition

Set the D3D device this texture stream should use for creating shared texture resources. When the RenderAdapterLUIDChanged event is raised you should create a new D3D device using the RenderAdapterLUID property and call SetD3DDevice with the new D3D device. See the CreateTextureStream d3dDevice parameter for more details.

public void SetD3DDevice (object d3dDevice);
member this.SetD3DDevice : obj -> unit
Public Sub SetD3DDevice (d3dDevice As Object)

Parameters

d3dDevice
Object

Applies to