ludus::graphics::rhi::SurfaceHandle¶
Ludus Wiki · API overview · Browse API
Struct
Borrowed frame target belonging to one device session, including a headless target. The Platform window/canvas must outlive the device. Destruction/loss invalidates target operations; copying the handle does not extend its lifetime.
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/device.h
#include <ludus/graphics/rhi/device.h>
struct ludus::graphics::rhi::SurfaceHandle final
Members¶
internal::DeviceAccess¶
friend struct internal::DeviceAccess
Grants private dispatch access to assign and validate the borrowed owner identity.
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/device.h