ParsecHostGLSubmitFrame
ParsecStatusParsecHostGLSubmitFrame(Parsec *ps,uint8_tstream,ParsecGLuintframe)
Submit rendered OpenGL frame to connected guests. HOST_GAME
only.
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | stream | Video stream index. Must be less than NUM_VSTREAMS . |
in | frame | GLuint GL_TEXTURE_2D representing a rendered frame. |
Returns
PARSEC_OK
if the frame was submitted successfully, otherwise a ParsecStatus
error value.