Skip to content

LiteFX::Rendering::Backends::VulkanCommandBuffer::transfer

transfer overloads

Synopses

Declared in <litefx/backends/vulkan.hpp>

Performs a buffer-to-buffer transfer from a temporary buffer into target.

[[dllimport, dllexport]] virtual void transfer(
    Span<void const const*> data,
    size_t elementSize,
    IVulkanBuffer const& target,
    UInt32 firstElement = 0) const override;

» more...

Performs a buffer-to-buffer transfer from a temporary buffer into target.

[[dllimport]] virtual void transfer(
    Span<void const const*> data,
    size_t elementSize,
    buffer_type const& target,
    UInt32 firstElement = 0) const = 0;

» more...

Performs a buffer-to-buffer transfer from a temporary buffer into target.

[[dllimport, dllexport]] virtual void transfer(
    void const const* data,
    size_t size,
    IVulkanImage const& target,
    UInt32 subresource = 0) const override;

» more...

Performs a buffer-to-buffer transfer from a temporary buffer into target.

[[dllimport]] virtual void transfer(
    void const const* data,
    size_t size,
    image_type const& target,
    UInt32 subresource = 0) const = 0;

» more...

Performs a buffer-to-buffer transfer from a temporary buffer into target.

[[dllimport, dllexport]] virtual void transfer(
    Span<void const const*> data,
    size_t elementSize,
    IVulkanImage const& target,
    UInt32 firstSubresource = 0,
    UInt32 subresources = 1) const override;

» more...

Performs a buffer-to-buffer transfer from a temporary buffer into target.

[[dllimport]] virtual void transfer(
    Span<void const const*> data,
    size_t elementSize,
    image_type const& target,
    UInt32 firstSubresource = 0,
    UInt32 subresources = 1) const = 0;

» more...

Performs a buffer-to-buffer transfer from source to target.

[[dllimport, dllexport]] virtual void transfer(
    IVulkanBuffer const& source,
    IVulkanBuffer const& target,
    UInt32 sourceElement = 0,
    UInt32 targetElement = 0,
    UInt32 elements = 1) const override;

» more...

Performs a buffer-to-image transfer from source to target.

[[dllimport, dllexport]] virtual void transfer(
    IVulkanBuffer const& source,
    IVulkanImage const& target,
    UInt32 sourceElement = 0,
    UInt32 firstSubresource = 0,
    UInt32 subresources = 1) const override;

» more...

Performs an image-to-buffer transfer from source to target.

[[dllimport, dllexport]] virtual void transfer(
    IVulkanImage const& source,
    IVulkanBuffer const& target,
    UInt32 firstSubresource = 0,
    UInt32 targetElement = 0,
    UInt32 subresources = 1) const override;

» more...

Performs an image-to-image transfer from source to target.

[[dllimport, dllexport]] virtual void transfer(
    IVulkanImage const& source,
    IVulkanImage const& target,
    UInt32 sourceSubresource = 0,
    UInt32 targetSubresource = 0,
    UInt32 subresources = 1) const override;

» more...

Performs a buffer-to-buffer transfer from source to target.

[[dllimport]] virtual void transfer(
    buffer_type const& source,
    buffer_type const& target,
    UInt32 sourceElement = 0,
    UInt32 targetElement = 0,
    UInt32 elements = 1) const = 0;

» more...

Performs a buffer-to-image transfer from source to target.

[[dllimport]] virtual void transfer(
    buffer_type const& source,
    image_type const& target,
    UInt32 sourceElement = 0,
    UInt32 firstSubresource = 0,
    UInt32 elements = 1) const = 0;

» more...

Performs an image-to-buffer transfer from source to target.

[[dllimport]] virtual void transfer(
    image_type const& source,
    buffer_type const& target,
    UInt32 firstSubresource = 0,
    UInt32 targetElement = 0,
    UInt32 subresources = 1) const = 0;

» more...

Performs an image-to-image transfer from source to target.

[[dllimport]] virtual void transfer(
    image_type const& source,
    image_type const& target,
    UInt32 sourceSubresource = 0,
    UInt32 targetSubresource = 0,
    UInt32 subresources = 1) const = 0;

» more...

Performs a buffer-to-buffer transfer from source to target.

[[dllimport, dllexport]] virtual void transfer(
    SharedPtr<IVulkanBuffer const> const& source,
    IVulkanBuffer const& target,
    UInt32 sourceElement = 0,
    UInt32 targetElement = 0,
    UInt32 elements = 1) const override;

» more...

Performs a buffer-to-image transfer from source to target.

[[dllimport, dllexport]] virtual void transfer(
    SharedPtr<IVulkanBuffer const> const& source,
    IVulkanImage const& target,
    UInt32 sourceElement = 0,
    UInt32 firstSubresource = 0,
    UInt32 elements = 1) const override;

» more...

Performs a buffer-to-buffer transfer from source to target.

[[dllimport, dllexport]] virtual void transfer(
    SharedPtr<IVulkanImage const> const& source,
    IVulkanBuffer const& target,
    UInt32 firstSubresource = 0,
    UInt32 targetElement = 0,
    UInt32 subresources = 1) const override;

» more...

Performs a buffer-to-image transfer from source to target.

[[dllimport, dllexport]] virtual void transfer(
    SharedPtr<IVulkanImage const> const& source,
    IVulkanImage const& target,
    UInt32 sourceSubresource = 0,
    UInt32 targetSubresource = 0,
    UInt32 subresources = 1) const override;

» more...

Performs a buffer-to-buffer transfer from source to target.

[[dllimport]] virtual void transfer(
    SharedPtr<buffer_type const> const& source,
    buffer_type const& target,
    UInt32 sourceElement = 0,
    UInt32 targetElement = 0,
    UInt32 elements = 1) const = 0;

» more...

Performs a buffer-to-image transfer from source to target.

[[dllimport]] virtual void transfer(
    SharedPtr<buffer_type const> const& source,
    image_type const& target,
    UInt32 sourceElement = 0,
    UInt32 firstSubresource = 0,
    UInt32 elements = 1) const = 0;

» more...

Performs a buffer-to-buffer transfer from source to target.

[[dllimport]] virtual void transfer(
    SharedPtr<image_type const> const& source,
    buffer_type const& target,
    UInt32 firstSubresource = 0,
    UInt32 targetElement = 0,
    UInt32 subresources = 1) const = 0;

» more...

Performs a buffer-to-image transfer from source to target.

[[dllimport]] virtual void transfer(
    SharedPtr<image_type const> const& source,
    image_type const& target,
    UInt32 sourceSubresource = 0,
    UInt32 targetSubresource = 0,
    UInt32 subresources = 1) const = 0;

» more...

Performs a buffer-to-buffer transfer from a temporary buffer into target.

[[dllimport, dllexport]] virtual void transfer(
    void const const* data,
    size_t size,
    IVulkanBuffer const& target,
    UInt32 targetElement = 0,
    UInt32 elements = 1) const override;

» more...

Performs a buffer-to-buffer transfer from a temporary buffer into target.

[[dllimport]] virtual void transfer(
    void const const* data,
    size_t size,
    buffer_type const& target,
    UInt32 targetElement = 0,
    UInt32 elements = 1) const = 0;

» more...

Parameters

NameDescription
dataThe addresses that mark the beginning of the element data to map.
elementSizeThe number of bytes to map for each element.
targetThe target buffer to transfer data to.
sizeThe number of bytes to map.
subresourceThe index of the sub-resource of the target image to receive data.
firstSubresourceThe index of the first sub-resource of the target image to receive data.
sourceThe source buffer to transfer data from.
sourceElementThe index of the first element in the source buffer to copy.
targetElementThe index of the first element in the target buffer to copy to.
elementsThe number of elements to copy from the source buffer into the target buffer.
subresourcesThe number of sub-resources to copy.
sourceSubresourceThe index of the first sub-resource to copy from the source image.
targetSubresourceThe image of the first sub-resource in the target image to receive data.

See Also

IBarrier