Struct vulkano::command_buffer::AutoCommandBuffer
[−]
[src]
pub struct AutoCommandBuffer<P = StandardCommandPoolAlloc> { /* fields omitted */ }
Trait Implementations
impl<P> CommandBuffer for AutoCommandBuffer<P>
[src]
type PoolAlloc = P
The command pool of the command buffer.
fn inner(&self) -> &UnsafeCommandBuffer<P>
[src]
Returns the underlying UnsafeCommandBuffer
of this command buffer.
fn lock_submit(
&self,
future: &GpuFuture,
queue: &Queue
) -> Result<(), CommandBufferExecError>
[src]
&self,
future: &GpuFuture,
queue: &Queue
) -> Result<(), CommandBufferExecError>
Checks whether this command buffer is allowed to be submitted after the future
and on the given queue, and if so locks it. Read more
unsafe fn unlock(&self)
[src]
Unlocks the command buffer. Should be called once for each call to lock_submit
. Read more
fn check_buffer_access(
&self,
buffer: &BufferAccess,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
[src]
&self,
buffer: &BufferAccess,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
fn check_image_access(
&self,
image: &ImageAccess,
layout: ImageLayout,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
[src]
&self,
image: &ImageAccess,
layout: ImageLayout,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
fn execute(
self,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<NowFuture, Self>, CommandBufferExecError> where
Self: Sized + 'static,
[src]
self,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<NowFuture, Self>, CommandBufferExecError> where
Self: Sized + 'static,
Executes this command buffer on a queue. Read more
fn execute_after<F>(
self,
future: F,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<F, Self>, CommandBufferExecError> where
Self: Sized + 'static,
F: GpuFuture,
[src]
self,
future: F,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<F, Self>, CommandBufferExecError> where
Self: Sized + 'static,
F: GpuFuture,
Executes the command buffer after an existing future. Read more