ParsecHostD3D9SubmitFrame
ParsecStatusParsecHostD3D9SubmitFrame(Parsec *ps,uint8_tstream,ParsecD3D9Device *device,ParsecD3D9Surface *frame)
Submit rendered D3D9 frame to connected guests. HOST_GAME
only. Windows only.
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | stream | Video stream index. Must be less than NUM_VSTREAMS . |
in | device | Cast to IDirect3DDevice9 \* used within your render loop. |
in | frame | Cast to IDirect3DSurface9 \* representing a rendered frame. |
Returns
PARSEC_OK
if the frame was submitted successfully, otherwise a ParsecStatus
error value.