Function ul_next_sys::ulCreateOverlayWithView
source ยท pub unsafe extern "C" fn ulCreateOverlayWithView(
window: ULWindow,
view: ULView,
x: c_int,
y: c_int,
) -> ULOverlay
Expand description
Create a new Overlay, wrapping an existing View.
@param window The window to create the Overlay in. (we currently only support one window per application)
@param view The View to wrap (will use its width and height).
@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.