PixelRowsAction<TPixel, TState> Delegate

A callback receiving scoped access to the pixel rows of a frame and caller state.

public delegate void PixelRowsAction<TPixel, TState>(PixelAccessor<TPixel> pixels, TState state) where TPixel : unmanaged where TState : allows ref struct

Type parameters

TPixel
The pixel type.
TState
The type of the state.

Parameters

pixels PixelAccessor<TPixel>
The accessor, valid only until the callback returns.
state TState
The state passed by the caller.