oa::DetectionBuffer

DetectionBuffer class in the OA Vision public surface.

Public Methods

U32 oa::DetectionBuffer::bindlessIndex()
U32 oa::DetectionBuffer::capacity()
U32 oa::DetectionBuffer::count()
bool oa::DetectionBuffer::isReady()
bool oa::DetectionBuffer::isValid()
Status oa::DetectionBuffer::markConsumed(const Event & inCompletion)
Status oa::DetectionBuffer::upload(Span<const Detection> inDetections)

Static Public Methods

static Result<DetectionBuffer> oa::DetectionBuffer::createHostUpload(Engine & inRuntime, U32 inCapacity)

Constructor & Destructor Documentation

oa::DetectionBuffer::DetectionBuffer()
No public source comment is attached to this declaration.
void oa::DetectionBuffer::~DetectionBuffer()
No public source comment is attached to this declaration.

Public Method Documentation

U32 oa::DetectionBuffer::bindlessIndex()
No public source comment is attached to this declaration.

Returns

U32

The declared return value.

U32 oa::DetectionBuffer::capacity()
No public source comment is attached to this declaration.

Returns

U32

The declared return value.

U32 oa::DetectionBuffer::count()
No public source comment is attached to this declaration.

Returns

U32

The declared return value.

bool oa::DetectionBuffer::isReady()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

bool oa::DetectionBuffer::isValid()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

Status oa::DetectionBuffer::markConsumed( const Event & inCompletion )
No public source comment is attached to this declaration.

Parameters

inCompletion
const Event &

Returns

Status

The declared return value.

Status oa::DetectionBuffer::upload( Span<const Detection> inDetections )
Replaces the current records. Fails while a previous render submission still consumes this slot.

Parameters

inDetections
Span<const Detection>

Returns

Status

The declared return value.

static Result<DetectionBuffer> oa::DetectionBuffer::createHostUpload( Engine & inRuntime, U32 inCapacity )
Host-visible creation path for sidecars, tests, and CPU integrations. Native GPU postprocess will use the same record layout and consumer API.

Parameters

inRuntime
Engine &

inCapacity
U32

Returns

Result<DetectionBuffer>

The declared return value.