Information necessary for native surfaces such as windows. More...
#include <kanzi/gfx/types.hpp>
Public Member Functions | |
| operator bool () const | |
| bool | operator== (const NativeSurfaceHandle &other) const |
Public Attributes | |
| uintptr_t | extra_handle |
| Optional extra handle for those platforms that need two. | |
| uintptr_t | handle |
| Main handle. | |
Information necessary for native surfaces such as windows.
The underlying objects are platform specific, such as HWND on Windows, ANativeWindow* on Android, xcb_connection_t and xcb_window_t on X11, wl_display and wl_surface on Wayland and so on.
|
inlineexplicit |
|
inline |
| uintptr_t kanzi::gfx::NativeSurfaceHandle::handle |
Main handle.
| uintptr_t kanzi::gfx::NativeSurfaceHandle::extra_handle |
Optional extra handle for those platforms that need two.