PixelBytesAction<TState> Delegate
A callback receiving scoped access to the raw pixel bytes of a frame and caller state.
public delegate void PixelBytesAction<TState>(PixelBytesAccessor pixels, TState state) where TState : allows ref structType parameters
TState- The type of the state.
Parameters
pixelsPixelBytesAccessor- The accessor, valid only until the callback returns.
stateTState- The state passed by the caller.