Parsec

ParsecHostGLSubmitFrame

ParsecStatusParsecHostGLSubmitFrame(Parsec *
ps,
uint8_t
stream,
ParsecGLuint
frame
)

Submit rendered OpenGL frame to connected guests. HOST_GAME only.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
instreamVideo stream index. Must be less than NUM_VSTREAMS.
inframeGLuint GL_TEXTURE_2D representing a rendered frame.

Returns

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