Struct vulkano::command_buffer::cb::UnsafeCommandBuffer
[−]
[src]
pub struct UnsafeCommandBuffer<P> where
P: CommandPool, { /* fields omitted */ }
Command buffer that has been built.
Doesn't perform any synchronization and doesn't keep the object it uses alive.
Trait Implementations
impl<P> CommandBuffer for UnsafeCommandBuffer<P> where
P: CommandPool,
[src]
P: CommandPool,
type Pool = P
The command pool of the command buffer.
fn inner(&self) -> &UnsafeCommandBuffer<P>
Returns the underlying UnsafeCommandBuffer
of this command buffer.
fn prepare_submit(
&self,
_: &GpuFuture,
_: &Queue
) -> Result<(), CommandBufferExecError>
&self,
_: &GpuFuture,
_: &Queue
) -> Result<(), CommandBufferExecError>
Checks whether this command buffer is allowed to be submitted after the future
and on the given queue. 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 queue_family(&self) -> QueueFamily
Returns the queue family of the command buffer.
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
impl<P> DeviceOwned for UnsafeCommandBuffer<P> where
P: CommandPool,
[src]
P: CommandPool,
impl<P> VulkanObject for UnsafeCommandBuffer<P> where
P: CommandPool,
[src]
P: CommandPool,
type Object = CommandBuffer
The type of the object.
fn internal_object(&self) -> CommandBuffer
Returns a reference to the object.