Core Docs vulfram-core@0.16

CmdWindowGetSurfaceSize

Retrieves the actual size of the rendering surface.

Platform Notes

  • WASM: Not supported (returns success=false with a message).

Arguments

Field Type Description
windowId u32 ID of the window

Response

Returns CmdResultWindowGetSurfaceSize:

Field Type Description
success bool Whether the size was retrieved
message String Status or error message
content UVec2 Current surface size dimensions
Documentation Vulfram Core