- fromAndroid
Surface fromAndroid(void* androidNativeWindow)
Create a new Surface from an Android handle.
- fromAndroid
Surface fromAndroid(void* androidNativeWindow)
Create a new Surface from an Android handle.
- fromMetalLayer
Surface fromMetalLayer(void* layer)
Create a new Surface from a Metal layer.
- fromMetalLayer
Surface fromMetalLayer(void* layer)
Create a new Surface from a Metal layer.
- fromWayland
Surface fromWayland(void* surface, void* display)
Create a new Surface from a Wayland window handle.
- fromWayland
Surface fromWayland(void* surface, void* display)
Create a new Surface from a Wayland window handle.
- fromWindowsHwnd
Surface fromWindowsHwnd(void* _hinstance, void* hwnd)
Create a new Surface from a Windows window handle.
- fromWindowsHwnd
Surface fromWindowsHwnd(void* _hinstance, void* hwnd)
Create a new Surface from a Windows window handle.
- fromXlib
Surface fromXlib(const(void)** display, c_ulong window)
Create a new Surface from a Xlib window handle.
- fromXlib
Surface fromXlib(const(void)** display, c_ulong window)
Create a new Surface from a Xlib window handle.
A handle to a presentable surface.
A Surface represents a platform-specific surface (e.g. a window) to which rendered images may be presented. A Surface may be created with Surface.create.