Skip to content

ludus::graphics::rhi::NativeTextureRead

Ludus Wiki · API overview · Browse API

Struct

Pins one texture incarnation and excludes RHI writes until foreign GPU reads complete. Copies do not add ownership. Foreign consumers must stop recording new reads before ReleaseNativeTextureRead; destroy their wrappers before final release.

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

#include <ludus/graphics/rhi/native_interop.h>
struct ludus::graphics::rhi::NativeTextureRead 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