DefaultRenderHandlerOnAcceleratedPaint Method |
Version 73.1.130
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.OffScreen
Assembly:
CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 73.1.130.0 (73.1.130.0)
Syntax public virtual void OnAcceleratedPaint(
PaintElementType type,
Rect dirtyRect,
IntPtr sharedHandle
)
public:
virtual void OnAcceleratedPaint(
PaintElementType type,
Rect dirtyRect,
IntPtr sharedHandle
)
Parameters
- type
- Type: CefSharpPaintElementType
indicates whether the element is the view or the popup widget. - dirtyRect
- Type: CefSharp.StructsRect
contains the set of rectangles in pixel coordinates that need to be repainted - sharedHandle
- Type: SystemIntPtr
is the handle for a D3D11 Texture2D that can be accessed via ID3D11Device using the OpenSharedResource method.
Implements
IRenderHandlerOnAcceleratedPaint(PaintElementType, Rect, IntPtr)See Also