ParsecHostD3D11SubmitFrame

ps,
uint8_t
stream,
device,
context,
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.

Parsec SDK on GitHubDiscuss on Discord

You are prepared.

Create an account now for free.

Sign Up
Parsec© 2020
Made with ❤️ in NYC