Kanzi 4.0.0-beta2
kanzi::gfx::NativeSurfaceHandle Struct Reference

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.
 

Detailed Description

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.

Since
Kanzi 4.0.0

Member Function Documentation

◆ operator bool()

kanzi::gfx::NativeSurfaceHandle::operator bool ( ) const
inlineexplicit

◆ operator==()

bool kanzi::gfx::NativeSurfaceHandle::operator== ( const NativeSurfaceHandle & other) const
inline

Member Data Documentation

◆ handle

uintptr_t kanzi::gfx::NativeSurfaceHandle::handle

Main handle.

◆ extra_handle

uintptr_t kanzi::gfx::NativeSurfaceHandle::extra_handle

Optional extra handle for those platforms that need two.


The documentation for this struct was generated from the following file: