cmdDecompressMemoryNV :: MonadIO io=> CommandBuffercommandBufferis the command buffer into which the command will be recorded.->"decompressMemoryRegions"
::: Vector DecompressMemoryRegionNVpDecompressMemoryRegionsis a pointer to an array ofdecompressRegionCountDecompressMemoryRegionNV structures specifying decompression parameters.-> io ()
vkCmdDecompressMemoryNV - Decompress memory containing compressed data
Description
Each region specified in pDecompressMemoryRegions is decompressed from
the compressed to decompressed region based on the decompression method
specified in DecompressMemoryRegionNV::decompressionMethod. If the
regions containing compressed and decompressed data overlap, the
decompression behavior is undefined.
Valid Usage
The memoryDecompression feature must be enabled
Valid Usage (Implicit)
commandBuffermust be a valid CommandBuffer handle
pDecompressMemoryRegionsmust be a valid pointer to an array ofdecompressRegionCountvalid DecompressMemoryRegionNV structurescommandBuffermust be in the recording stateThe CommandPool that
commandBufferwas allocated from must support QUEUE_COMPUTE_BIT, or QUEUE_GRAPHICS_BIT operationsThis command must only be called outside of a render pass instance
This command must not be called between suspended render pass instances
This command must only be called outside of a video coding scope
decompressRegionCountmust be greater than0
Host Synchronization
Host access to
commandBuffermust be externally synchronized
Host access to the CommandPool that
commandBufferwas allocated from must be externally synchronized
Command Properties
'
Primary Secondary | Outside | Outside | VK_QUEUE_COMPUTE_BIT VK_QUEUE_GRAPHICS_BIT | Action |
Conditional Rendering
vkCmdDecompressMemoryNV is not affected by conditional rendering
See Also
VK_NV_memory_decompression, CommandBuffer, DecompressMemoryRegionNV