ParsecHostD3D12SubmitFrame
ParsecStatusParsecHostD3D12SubmitFrame(Parsec *ps,uint8_tstream,ParsecD3D12Device *device,ParsecD3D12CommandQueue *context,ParsecD3D12Resource *frame)
Submit rendered D3D12 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 ID3D12Device \* used within your render loop. |
in | context | Cast to ID3D12CommandQueue \* used within your render loop. |
in | frame | Cast to ID3D12Resource \* representing a rendered frame. |
Returns
PARSEC_OK
if the frame was submitted successfully, otherwise a ParsecStatus
error value.