ParsecHookVideoCallback
typedef void(* ParsecHookVideoCallback) (ParsecRenderer type, ParsecOpaqueWindow *window, ParsecOpaqueDevice *device, ParsecOpaqueContext *context, ParsecOpaqueTexture *texture, void *opaque )
Fired on each frame from a hooked renderer.
Passed to ParsecHostHookStart
to override the default behavior.
Parameters
Name | Description |
---|---|
type | Renderer in use see ParsecRenderer . |
window | The window handle containing the video frame. |
device | The renderer device, depends on the type of renderer. |
context | The renderer device context, depends on the type of renderer. |
texture | The frame texture, depends on the type of renderer. |
opaque | User supplied context passed in ParsecHostHookStart . |