Struct vulkano::command_buffer::synced::SyncCommandBuffer[][src]

pub struct SyncCommandBuffer<P> { /* fields omitted */ }

Command buffer built from a SyncCommandBufferBuilder that provides utilities to handle synchronization.

Methods

impl<P> SyncCommandBuffer<P>
[src]

Tries to lock the resources used by the command buffer.

Note: You should call this in the implementation of the CommandBuffer trait.

Unlocks the resources used by the command buffer.

Note: You should call this in the implementation of the CommandBuffer trait.

Safety

The command buffer must have been successfully locked with lock_submit().

Checks whether this command buffer has access to a buffer.

Note: Suitable when implementing the CommandBuffer trait.

Checks whether this command buffer has access to an image.

Note: Suitable when implementing the CommandBuffer trait.

Trait Implementations

impl<P> AsRef<UnsafeCommandBuffer<P>> for SyncCommandBuffer<P>
[src]

Performs the conversion.

impl<P> DeviceOwned for SyncCommandBuffer<P>
[src]

Returns the device that owns Self.

Auto Trait Implementations

impl<P> Send for SyncCommandBuffer<P> where
    P: Send

impl<P> Sync for SyncCommandBuffer<P> where
    P: Sync