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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
Parameters¶
| Name | Description |
|---|---|
| data | The addresses that mark the beginning of the element data to map. |
| elementSize | The number of bytes to map for each element. |
| target | The target buffer to transfer data to. |
| size | The number of bytes to map. |
| subresource | The index of the sub-resource of the target image to receive data. |
| firstSubresource | The index of the first sub-resource of the target image to receive data. |
| source | The source buffer to transfer data from. |
| sourceElement | The index of the first element in the source buffer to copy. |
| targetElement | The index of the first element in the target buffer to copy to. |
| elements | The number of elements to copy from the source buffer into the target buffer. |
| subresources | The number of sub-resources to copy. |
| sourceSubresource | The index of the first sub-resource to copy from the source image. |
| targetSubresource | The image of the first sub-resource in the target image to receive data. |
See Also¶
IBarrier