Parsec

ParsecHostD3D9SubmitFrame

ParsecStatusParsecHostD3D9SubmitFrame(Parsec *
ps,
uint8_t
stream,
ParsecD3D9Device *
device,
ParsecD3D9Surface *
frame
)

Submit rendered D3D9 frame to connected guests. HOST_GAME only. Windows only.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
instreamVideo stream index. Must be less than NUM_VSTREAMS.
indeviceCast to IDirect3DDevice9 \* used within your render loop.
inframeCast to IDirect3DSurface9 \* representing a rendered frame.

Returns

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