Skip to content

ludus::graphics::rhi::TextureHandle

Ludus Wiki · API overview · Browse API

Struct

Opaque texture allocation 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::TextureHandle 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==(TextureHandle, TextureHandle) noexcept=default
Compare device, generation and slot identity; this does not query resource readiness.

Related types: TextureHandle

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