Skip to content

ludus::graphics::rhi::BufferHandle

Ludus Wiki · API overview · Browse API

Struct

Opaque buffer identity, scoped to a device, slot and non-wrapping generation. Copies do not transfer ownership. Destroy invalidates resolution immediately; binding/pipeline and submitted uses keep the underlying record alive.

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

#include <ludus/graphics/rhi/raster.h>
struct ludus::graphics::rhi::BufferHandle final

Members

internal::RasterAccess

friend struct internal::RasterAccess
Grants the private registry access to assign and validate this incarnation.

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

operator==

LUDUS_INLINE constexpr bool operator==(BufferHandle, BufferHandle) noexcept=default
Compare device, generation and slot identity; this does not query resource readiness.

Related types: BufferHandle

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