Function TRAP::Graphics::API::UtilGetPlanarVkImageMemoryRequirement#
Function Documentation#
-
void TRAP::Graphics::API::UtilGetPlanarVkImageMemoryRequirement(VkDevice device, VkImage image, u32 planesCount, VkMemoryRequirements &memReq, std::vector<u64> &planesOffsets)#
Utility to retrieve the planar image memory requirement for Vulkan.
- Parameters:
device – Vulkan device.
image – Vulkan image.
planesCount – Number of planes.
memReq – Output Vulkan memory requirement.
planesOffsets – Output plane offsets.