ParsecClientD3D11RenderFrame

ps,
device,
context,
pre,
post,
void *
opaque,
uint32_t
timeout
)

Renders a remote video frame with D3D11.

If the timeout expires, the previous frame is rendered.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
indeviceCast to ID3D11Device \* used within your render loop.
incontextCast to ID3D11DeviceContext \* used within your render loop.
inpreParsecPreRenderCallback fired just before the frame is rendered. May be NULL.
inpostParsecPostRenderCallback fired just after the frame is rendered. May be NULL.
inopaqueUser supplied context to be passed through pre and post.
intimeoutTime in milliseconds to wait for a new frame or render the previous frame and return.

Returns

PARSEC_OK if a frame was rendered successfully, otherwise a ParsecStatus error value.