API

Function setEngineSize

  • Set the engine's primary-surface swapchain backing-store size directly, in device pixels. Convenience wrapper around setSurfaceSize(engine, w, h) since the engine is its own primary surface — for auxiliary surfaces, prefer calling setSurfaceSize on the specific target.

    Parameters

    Returns void