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

Function Documentation#

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

Create a Vulkan buffer image copy.

Parameters:
  • bufferOffset – Start offset of the buffer.

  • bufferRowLength – Row length of the buffer.

  • bufferImageHeightImage height 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.