Struct vulkano::command_buffer::synced::SyncCommandBuffer
[−]
[src]
pub struct SyncCommandBuffer<P> { /* fields omitted */ }
Trait Implementations
impl<P> CommandBuffer for SyncCommandBuffer<P>
[src]
type PoolAlloc = P
The command pool of the command buffer.
fn inner(&self) -> &UnsafeCommandBuffer<Self::PoolAlloc>
Returns the underlying UnsafeCommandBuffer
of this command buffer.
fn lock_submit(
&self,
future: &GpuFuture,
queue: &Queue
) -> Result<(), CommandBufferExecError>
&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)
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>
&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>
&self,
image: &ImageAccess,
layout: ImageLayout,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlagBits)>, AccessCheckError>
fn prepare_submit(
&self,
future: &GpuFuture,
queue: &Queue
) -> Result<(), CommandBufferExecError>
&self,
future: &GpuFuture,
queue: &Queue
) -> Result<(), CommandBufferExecError>
Deprecated
: Renamed to lock_submit
fn execute(
self,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<NowFuture, Self>, CommandBufferExecError> where
Self: Sized + 'static,
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,
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