Struct vulkano::command_buffer::PrimaryAutoCommandBuffer
source · pub struct PrimaryAutoCommandBuffer<A = StandardCommandBufferAlloc> { /* private fields */ }
Trait Implementations
sourceimpl<A> DeviceOwned for PrimaryAutoCommandBuffer<A>
impl<A> DeviceOwned for PrimaryAutoCommandBuffer<A>
sourceimpl<A> PrimaryCommandBufferAbstract for PrimaryAutoCommandBuffer<A>where
A: CommandBufferAlloc,
impl<A> PrimaryCommandBufferAbstract for PrimaryAutoCommandBuffer<A>where
A: CommandBufferAlloc,
sourcefn usage(&self) -> CommandBufferUsage
fn usage(&self) -> CommandBufferUsage
Returns the usage of this command buffer.
fn check_buffer_access(
&self,
buffer: &Buffer,
range: Range<DeviceSize>,
exclusive: bool,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlags)>, AccessCheckError>
fn check_image_access(
&self,
image: &Image,
range: Range<DeviceSize>,
exclusive: bool,
expected_layout: ImageLayout,
queue: &Queue
) -> Result<Option<(PipelineStages, AccessFlags)>, AccessCheckError>
sourcefn execute(
self,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<NowFuture>, CommandBufferExecError>where
Self: Sized + 'static,
fn execute(
self,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<NowFuture>, 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>, CommandBufferExecError>where
Self: Sized + 'static,
F: GpuFuture,
fn execute_after<F>(
self,
future: F,
queue: Arc<Queue>
) -> Result<CommandBufferExecFuture<F>, CommandBufferExecError>where
Self: Sized + 'static,
F: GpuFuture,
Executes the command buffer after an existing future. Read more
sourceimpl<A> VulkanObject for PrimaryAutoCommandBuffer<A>
impl<A> VulkanObject for PrimaryAutoCommandBuffer<A>
type Handle = CommandBuffer
type Handle = CommandBuffer
The type of the object.
Auto Trait Implementations
impl<A = StandardCommandBufferAlloc> !RefUnwindSafe for PrimaryAutoCommandBuffer<A>
impl<A> Send for PrimaryAutoCommandBuffer<A>where
A: Send,
impl<A> Sync for PrimaryAutoCommandBuffer<A>where
A: Sync,
impl<A> Unpin for PrimaryAutoCommandBuffer<A>where
A: Unpin,
impl<A = StandardCommandBufferAlloc> !UnwindSafe for PrimaryAutoCommandBuffer<A>
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