Struct asche::TransferCommandEncoder[][src]

pub struct TransferCommandEncoder<'a> { /* fields omitted */ }

Used to encode command for a transfer command buffer.

Implementations

impl<'a> TransferCommandEncoder<'a>[src]

pub fn copy_buffer(
    &self,
    src_buffer: Buffer,
    dst_buffer: Buffer,
    src_offset: DeviceSize,
    dst_offset: DeviceSize,
    size: DeviceSize
)
[src]

Copies data between two buffer.

pub fn copy_buffer_to_image(
    &self,
    src_buffer: Buffer,
    dst_image: Image,
    dst_image_layout: ImageLayout,
    region: BufferImageCopyBuilder<'_>
)
[src]

Copies data from a buffer to an image.

pub fn pipeline_barrier2(&self, dependency_info: &DependencyInfoKHR)[src]

Insert a memory dependency. Vulkan Manual Page

Trait Implementations

impl<'a> Debug for TransferCommandEncoder<'a>[src]

impl<'a> Drop for TransferCommandEncoder<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.