Skip to content

ludus::graphics::rhi::SubmissionToken

Ludus Wiki · API overview · Browse API

Struct

Borrowed ordered-queue completion identity; copying requires no release. Main-thread polling only. Completion proves GPU execution, not presentation or image correctness. A complete higher ordinal covers earlier accepted work in the same device session.

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

#include <ludus/graphics/rhi/lifetime.h>
struct ludus::graphics::rhi::SubmissionToken final

Members

internal::LifetimeAccess

friend struct internal::LifetimeAccess
Grants private registry access to the owner and monotonic queue ordinal.

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

Methods

IsNull

bool ludus::graphics::rhi::SubmissionToken::IsNull() const noexcept
True only for the default/cleared identity, before accepted submission. Pure value query: does not check device ownership or GPU completion.

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