Trait asche::CommonCommands[][src]

pub trait CommonCommands {
    unsafe fn copy_buffer(
        &self,
        src_buffer: Buffer,
        dst_buffer: Buffer,
        src_offset: DeviceSize,
        dst_offset: DeviceSize,
        size: DeviceSize
    );
unsafe fn copy_buffer_to_image(
        &self,
        src_buffer: Buffer,
        dst_image: Image,
        dst_image_layout: ImageLayout,
        region: BufferImageCopyBuilder<'_>
    );
unsafe fn pipeline_barrier2(&self, dependency_info: &DependencyInfoKHR);
unsafe fn begin_debug_utils_label(
        &self,
        label: &str,
        color: [f32; 4]
    ) -> Result<(), AscheError>;
unsafe fn end_debug_utils_label(&self);
unsafe fn insert_debug_utils_label(
        &self,
        label: &str,
        color: [f32; 4]
    ) -> Result<(), AscheError>; }
Expand description

Implements common command between all queues.

Required methods

Copies data between two buffer.

Copies data from a buffer to an image.

Insert a memory dependency. Vulkan Manual Page

Open a command buffer debug label region. Vulkan Manual Page

Close a command buffer label region. Vulkan Manual Page

Insert a label into a command buffer. Vulkan Manual Page

Implementors