Struct vulkano::command_buffer::PrimaryAutoCommandBuffer
source · pub struct PrimaryAutoCommandBuffer<A = StandardCommandBufferAlloc> { /* private fields */ }
Trait Implementations§
source§impl<A> DeviceOwned for PrimaryAutoCommandBuffer<A>
impl<A> DeviceOwned for PrimaryAutoCommandBuffer<A>
source§impl<A> PrimaryCommandBufferAbstract for PrimaryAutoCommandBuffer<A>where
A: CommandBufferAlloc,
impl<A> PrimaryCommandBufferAbstract for PrimaryAutoCommandBuffer<A>where
A: CommandBufferAlloc,
source§fn 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>
source§fn 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
source§fn 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