Struct vulkano::command_buffer::PrimaryAutoCommandBuffer [−][src]
pub struct PrimaryAutoCommandBuffer<P = StandardCommandPoolAlloc> { /* fields omitted */ }
Trait Implementations
Returns the underlying UnsafeCommandBuffer
of this command buffer.
fn lock_submit(
&self,
future: &dyn GpuFuture,
queue: &Queue
) -> Result<(), CommandBufferExecError>
fn lock_submit(
&self,
future: &dyn 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
Unlocks the command buffer. Should be called once for each call to lock_submit
. Read more
fn check_buffer_access(
&self,
buffer: &dyn BufferAccess,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlags)>, AccessCheckError>
fn check_image_access(
&self,
image: &dyn ImageAccess,
layout: ImageLayout,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlags)>, AccessCheckError>
fn execute(
self,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<NowFuture, Self>, CommandBufferExecError> where
Self: Sized + 'static,
fn execute(
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,
fn execute_after<F>(
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
Auto Trait Implementations
impl<P = StandardCommandPoolAlloc> !RefUnwindSafe for PrimaryAutoCommandBuffer<P>
impl<P> Send for PrimaryAutoCommandBuffer<P> where
P: Send,
impl<P> Sync for PrimaryAutoCommandBuffer<P> where
P: Sync,
impl<P> Unpin for PrimaryAutoCommandBuffer<P> where
P: Unpin,
impl<P = StandardCommandPoolAlloc> !UnwindSafe for PrimaryAutoCommandBuffer<P>
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.