[][src]Function ul_sys::ulCreateOverlay

pub unsafe extern "C" fn ulCreateOverlay(
    window: ULWindow,
    width: c_uint,
    height: c_uint,
    x: c_int,
    y: c_int
) -> ULOverlay

Create a new Overlay.

@param window The window to create the Overlay in. (we currently only support one window per application)

@param width The width in device coordinates.

@param height The height in device coordinates.

@param x The x-position (offset from the left of the Window), in pixels.

@param y The y-position (offset from the top of the Window), in pixels.

@note Each Overlay is essentially a View and an on-screen quad. You should create the Overlay then load content into the underlying View.