pub struct CommandPool<RenderBackend: Backend> { /* private fields */ }

Implementations§

Deallocate a command buffer

Buffers can be looked up with the same name that they’re given when calling allocate_command_buffer

Retrieves a command buffer that has been allocated by this command pool. This function is most likely not

Resets the command pool and all of the command buffers.

Moves the command pool into itself and destroys any command pool and buffer resources allocated on the GPU.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.