pub type PendingOnceState = PendingState<InvalidState>;
Expand description
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.
Aliased Type§
struct PendingOnceState(pub InvalidState);
Fields§
§0: InvalidState