ParsecClientSetDimensions

ps,
uint32_t
width,
uint32_t
height,
float
scale
)

Set client window dimensions and screen scale.

The window size and screen scale are used internally to translate mouse coordinates and set the viewport during rendering (if RenderFrame wrappers are used).

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
inwidthThe window width in screen coordinates.
inheightThe window height in screen coordinates.
inscaleThe screen scale used to translate device screen coordinates into pixels.

Returns

PARSEC_OK on success or PARSEC_NOT_RUNNING if the client is not connected.