| void Spices::VulkanImage::CopyBufferToImage | ( | VkBuffer | buffer, |
| VkImage | image, | ||
| uint32_t | width, | ||
| uint32_t | height, | ||
| const std::vector< VkBufferImageCopy > & | regions ) const |
Copy the Buffer's data to this VkImage. Used to create image data (include mipmaps), which owns a compressed format.
| [in] | buffer | The buffer we want copy from. |
| [in] | image | The image we want copy to, usually this VkImage Object. |
| [in] | width | The image's width. |
| [in] | height | The image's height. |
| [in] | regions | Specific Regions. |
Use Custom Cmd.
Use Custom Cmd.
Definition at line 362 of file VulkanImage.cpp.
References Spices::VulkanObject::m_VulkanState.