encoder

val encoder: CommandEncoder(source)

The callback encoder whose completion fence is managed by the adapter and whose submission follows the version-owned host contract.

Use it only on the render thread, close every opened render pass before returning, and do not retain or submit the encoder. Whether commands issue immediately or remain recorded for a later host submission remains a version-adapter responsibility.

Throws

off the render thread or after the callback returns or fails.