MCPcopy Create free account
hub / github.com/adrien-ben/vulkan-tutorial-rs / copy_buffer

Method copy_buffer

src/main.rs:1806–1824  ·  view source on GitHub ↗

Copy the `size` first bytes of `src` into `dst`. It's done using a command buffer allocated from `command_pool`. The command buffer is cubmitted tp `transfer_queue`.

(
        device: &Device,
        command_pool: vk::CommandPool,
        transfer_queue: vk::Queue,
        src: vk::Buffer,
        dst: vk::Buffer,
        size: vk::DeviceSize,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected