ChromiumWebBrowser.OnAcceleratedPaint Method |
Version 110.0.300
Called when an element has been rendered to the shared texture handle.
This method is only called when
SharedTextureEnabled is set to true
Namespace:
CefSharp.Wpf
Assembly:
CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 110.0.300.0 (110.0.300.0)
Syntax protected virtual void OnAcceleratedPaint(
bool isPopup,
Rect dirtyRect,
IntPtr sharedHandle
)
protected:
virtual void OnAcceleratedPaint(
bool isPopup,
Rect dirtyRect,
IntPtr sharedHandle
)
Parameters
- isPopup
- Type: System.Boolean
indicates whether the element is the view or the popup widget. - dirtyRect
- Type: CefSharp.Structs.Rect
contains the set of rectangles in pixel coordinates that need to be repainted - sharedHandle
- Type: System.IntPtr
is the handle for a D3D11 Texture2D that can be accessed via ID3D11Device using the OpenSharedResource method.
See Also