|
Ream v0.1.0-1
C++ graphics library for Linux
|
Abstract handle to the underlying windowing/display platform. More...
#include <RPlatformHandle.h>
Inheritance diagram for RPlatformHandle:Public Member Functions | |
| RPlatform | platform () const noexcept |
| Returns the platform this handle belongs to. | |
| RWLPlatformHandle * | asWL () noexcept |
| Casts this handle to a Wayland platform handle. | |
| RDRMPlatformHandle * | asDRM () noexcept |
| Casts this handle to a DRM platform handle. | |
Public Member Functions inherited from RObject | |
| RObject ()=default | |
| Constructs a default RObject. | |
Abstract handle to the underlying windowing/display platform.
Base class for platform-specific handles (Wayland, DRM, offscreen). It exposes the platform kind and safe down-casts to the concrete handle types.
|
inlinenoexcept |
Returns the platform this handle belongs to.
|
inlinenoexcept |
Casts this handle to a Wayland platform handle.
nullptr if this is not a Wayland handle.
|
inlinenoexcept |
Casts this handle to a DRM platform handle.
nullptr if this is not a DRM handle.