[][src]Type Definition rendy_command::PendingOnceState

type PendingOnceState = PendingState<InvalidState>;

Command buffer in pending state are submitted to the device. Command buffer in pending state must never be invalidated or reset because device may read it at the moment. Proving device is done with buffer requires nontrivial strategies. Therefore moving buffer from pending state requires unsafe method. This type alias can be used for one-shot command buffers.