Parsec

ParsecHostD3D12SubmitFrame

ParsecStatusParsecHostD3D12SubmitFrame(Parsec *
ps,
uint8_t
stream,
ParsecD3D12Device *
device,
ParsecD3D12CommandQueue *
context,
ParsecD3D12Resource *
frame
)

Submit rendered D3D12 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 ID3D12Device \* used within your render loop.
incontextCast to ID3D12CommandQueue \* used within your render loop.
inframeCast to ID3D12Resource \* representing a rendered frame.

Returns

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