Struct asche::ComputeCommandPool [−][src]
pub struct ComputeCommandPool { pub raw: CommandPool, // some fields omitted }
Expand description
A command pool for the compute queue.
Fields
raw: CommandPool
The raw Vulkan command pool.
Implementations
pub fn create_command_buffer(
&mut self,
wait_semaphore: Option<CommandBufferSemaphore<'_>>,
signal_semaphore: Option<CommandBufferSemaphore<'_>>
) -> Result<ComputeCommandBuffer, AscheError>
pub fn create_command_buffer(
&mut self,
wait_semaphore: Option<CommandBufferSemaphore<'_>>,
signal_semaphore: Option<CommandBufferSemaphore<'_>>
) -> Result<ComputeCommandBuffer, AscheError>
Creates a new command buffer.
Resets a command pool.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ComputeCommandPool
impl Send for ComputeCommandPool
impl Sync for ComputeCommandPool
impl Unpin for ComputeCommandPool
impl !UnwindSafe for ComputeCommandPool