Function TRAP::Graphics::API::VulkanInits::ImageCopy(u32, u32, u32, u32, VkImageSubresourceLayers)#

Function Documentation#

VkBufferImageCopy TRAP::Graphics::API::VulkanInits::ImageCopy(u32 bufferRowLength, u32 width, u32 height, u32 depth, VkImageSubresourceLayers layers)#

Create a Vulkan buffer image copy.

Parameters:
  • bufferRowLength – Row length of the buffer.

  • width – Width of the image.

  • height – Height of the image.

  • depth – Depth of the image.

  • layers – Number of Vulkan image subresource layers.