Skip to content

ludus::graphics::rhi::NativeDeviceLease

Ludus Wiki · API overview · Browse API

Struct

Pins one native context. Copies do not add ownership; release exactly once after destroying every foreign wrapper/device that borrows the exported objects.

Declared in modules/graphics/rhi/include/ludus/graphics/rhi/native_interop.h

#include <ludus/graphics/rhi/native_interop.h>
struct ludus::graphics::rhi::NativeDeviceLease final

Members

internal::NativeInteropAccess

friend struct internal::NativeInteropAccess
Grants the bridge registry access to validate retained incarnations.

Declared in modules/graphics/rhi/include/ludus/graphics/rhi/native_interop.h