C Specification
To decompress memory containing compressed data, call:
// Provided by VK_NV_memory_decompression
void vkCmdDecompressMemoryNV(
VkCommandBuffer commandBuffer,
uint32_t decompressRegionCount,
const VkDecompressMemoryRegionNV* pDecompressMemoryRegions);
Parameters
-
commandBufferis the command buffer into which the command will be recorded. -
decompressRegionCountis the number of memory regions to decompress. -
pDecompressMemoryRegionsis a pointer to an array ofdecompressRegionCountVkDecompressMemoryRegionNV structures specifying decompression parameters.
Description
Each region specified in pDecompressMemoryRegions is decompressed from
the compressed to decompressed region based on the decompression method
specified in VkDecompressMemoryRegionNV::decompressionMethod.
If the regions containing compressed and decompressed data overlap, the
decompression behavior is undefined.
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.