ParsecHostD3D11SubmitFrame
ParsecStatusParsecHostD3D11SubmitFrame(Parsec *ps,uint8_tstream,ParsecD3D11Device *device,ParsecD3D11DeviceContext *context,ParsecD3D11Texture2D *frame)
Submit rendered D3D11 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 ID3D11Device \* used within your render loop. |
in | context | Cast to ID3D11DeviceContext \* used within your render loop. |
in | frame | Cast to ID3D11Texture2D \* representing a rendered frame. |
Returns
PARSEC_OK
if the frame was submitted successfully, otherwise a ParsecStatus
error value.