Click or drag to resize

InteropBitmapRenderHandler Class

Version 130.1.90
InteropBitmapRenderHandler - creates/updates an InteropBitmap Uses a MemoryMappedFile for double buffering when the size matches or creates a new InteropBitmap when required
Inheritance Hierarchy
SystemObject
  CefSharp.Wpf.RenderingAbstractRenderHandler
    CefSharp.Wpf.RenderingInteropBitmapRenderHandler

Namespace: CefSharp.Wpf.Rendering
Assembly: CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public class InteropBitmapRenderHandler : AbstractRenderHandler

The InteropBitmapRenderHandler type exposes the following members.

Constructors
 NameDescription
Public methodInteropBitmapRenderHandler Initializes a new instance of the InteropBitmapRenderHandler class.
Top
Properties
 NameDescription
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
(Inherited from AbstractRenderHandler)
Top
Methods
 NameDescription
Protected methodCreateOrUpdateBitmap
(Overrides AbstractRenderHandlerCreateOrUpdateBitmap(Boolean, Rect, IntPtr, Int32, Int32, Image, Size, MemoryMappedFile, MemoryMappedViewAccessor))
Public methodDispose Releases all resources used by the AbstractRenderHandler object
(Inherited from AbstractRenderHandler)
Protected methodDispose(Boolean) Releases unmanaged and - optionally - managed resources for the AbstractRenderHandler
(Inherited from AbstractRenderHandler)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnAcceleratedPaint Called when an element has been rendered to the shared texture handle. This method is only called when SharedTextureEnabled is set to true The underlying implementation uses a pool to deliver frames. As a result, the handle may differ every frame depending on how many frames are in-progress. The handle's resource cannot be cached and cannot be accessed outside of this callback. It should be reopened each time this callback is executed and the contents should be copied to a texture owned by the client application. The contents of acceleratedPaintInfoacceleratedPaintInfo will be released back to the pool after this callback returns.
(Inherited from AbstractRenderHandler)
Public methodOnPaint Called when an element should be painted. (Invoked from CefRenderHandler.OnPaint) This method is only called when SharedTextureEnabled is set to false.
(Inherited from AbstractRenderHandler)
Protected methodReleaseMemoryMappedView
(Inherited from AbstractRenderHandler)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
See Also