Parsec

ParsecHostD3D11SubmitFrame

ParsecStatusParsecHostD3D11SubmitFrame(Parsec *
ps,
uint8_t
stream,
ParsecD3D11Device *
device,
ParsecD3D11DeviceContext *
context,
ParsecD3D11Texture2D *
frame
)

Submit rendered D3D11 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 ID3D11Device \* used within your render loop.
incontextCast to ID3D11DeviceContext \* used within your render loop.
inframeCast to ID3D11Texture2D \* representing a rendered frame.

Returns

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