CustomFilterBase Methods

The CustomFilterBase type exposes the following members.

  Name Description
Protected method CreateSessionState
Called when a new filter session is created. If the filter overrides this method, it should return an object representing session state that is specific to the filter. It can then access this object using the SessionState property from within OnProcess(PixelRegion, PixelRegion).
Public method Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected method Dispose(Boolean)
Called by the Dispose() method.
Protected method OnPrepareAsync
Called when the filter should load and prepare for rendering.
Protected method OnProcess
Called when the filter is asked to process a rectangular area of the image.

  Name Description
Explicit interface implemetation Private method ICustomFilter.BeginProcessing
Called when the block-based rendering is about to begin, or new source/target buffers are requested.
Explicit interface implemetation Private method ICustomFilter.PrepareAsync
Load/prepare for processing.
Explicit interface implemetation Private method ICustomFilter.ProcessBlock
Called when a rectangular block in the image should be processed.
Explicit interface implemetation Private method ICustomFilter2.CreateSession
Create a new filter session.
Explicit interface implemetation Private method IFilter.Apply
Internal framework method.
Explicit interface implemetation Private method IFilter.Lock
Internal framework method.
Explicit interface implemetation Private method IFilter.PrepareAsync
Internal framework method.
Show: