![]() |
WSCLib SDK 1.0.0
GPU-accelerated video output framework for Windows
|
Functions | |
| WSCWResult | WSCW_Resize (int browserId, int width, int height) |
| Resize the virtual viewport. | |
| WSCWResult | WSCW_ExecuteJS (int browserId, const char *code) |
| Execute JavaScript code in the browser's main frame. | |
| WSCWResult | WSCW_SetFrameRate (int browserId, int fps) |
| Set the frame rate for off-screen rendering. | |
| WSCWResult WSCW_Resize | ( | int | browserId, |
| int | width, | ||
| int | height ) |
Resize the virtual viewport.
| browserId | Browser ID. |
| width | New width in pixels. |
| height | New height in pixels. |
| WSCWResult WSCW_ExecuteJS | ( | int | browserId, |
| const char * | code ) |
Execute JavaScript code in the browser's main frame.
| browserId | Browser ID. |
| code | JavaScript source code to execute. |
| WSCWResult WSCW_SetFrameRate | ( | int | browserId, |
| int | fps ) |
Set the frame rate for off-screen rendering.
Default is 30 FPS. Maximum is 60 FPS.
| browserId | Browser ID. |
| fps | Target frames per second (1–60). |