Struct vulkano::command_buffer::PrimaryAutoCommandBuffer
source · [−]pub struct PrimaryAutoCommandBuffer<P = StandardCommandPoolAlloc> { /* private fields */ }
Trait Implementations
sourceimpl<P> DeviceOwned for PrimaryAutoCommandBuffer<P>
impl<P> DeviceOwned for PrimaryAutoCommandBuffer<P>
sourceimpl<P> PrimaryCommandBuffer for PrimaryAutoCommandBuffer<P>where
P: CommandPoolAlloc,
impl<P> PrimaryCommandBuffer for PrimaryAutoCommandBuffer<P>where
P: CommandPoolAlloc,
sourcefn inner(&self) -> &UnsafeCommandBuffer
fn inner(&self) -> &UnsafeCommandBuffer
Returns the underlying
UnsafeCommandBuffer
of this command buffer.sourcefn 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 moresourceunsafe fn unlock(&self)
unsafe fn unlock(&self)
Unlocks the command buffer. Should be called once for each call to
lock_submit
. Read morefn check_buffer_access(
&self,
buffer: &UnsafeBuffer,
range: Range<DeviceSize>,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlags)>, AccessCheckError>
fn check_image_access(
&self,
image: &UnsafeImage,
range: Range<DeviceSize>,
exclusive: bool,
expected_layout: ImageLayout,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlags)>, AccessCheckError>
sourcefn 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
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more