package hugin

  1. Overview
  2. Docs

Module Usdl.WindowSource

Sourcetype t

The type for SDL windows.

Sourceval create : title:string -> w:int -> h:int -> t

create ~title ~w ~h is a resizable, high-DPI-aware window.

Raises Failure if window creation fails.

Sourceval destroy : t -> unit

destroy t frees the window. Safe to call more than once.