Function CE::Text::Rendering::upload

Function Documentation

Generation CE::Text::Rendering::upload(Prepared prepared, CE::Rendering::Resources::Provider &provider)

Declaration: [[nodiscard]]

Upload one immutable text generation on the provider’s owner/current context.

Failure returns no generation; earlier successful transient uploads retire through their backend rather than an atomic native rollback. Mismatched provider resources are rejected; provider and allocation failures propagate.

Parameters:
  • prepared – Owned CPU preparation consumed by value; pass a copy for retry or move it into an owner-dispatch request.

  • provider – Backend receiving the atlas and geometry uploads, borrowed for this call.

Returns:

Owned layout and resource handles; native use retains the provider-domain limits.