Compresses memory to LZ format.
public:
HRESULT LZCompressMemoryX(
D3D12_GPU_VIRTUAL_ADDRESS CompressedDestination,
D3D12_GPU_VIRTUAL_ADDRESS DecompressedSource,
UINT64 SourceSizeBytes
)
CompressedDestination
Type: D3D12_GPU_VIRTUAL_ADDRESS
The destination address at which to place the compressed data. Must be in graphics memory. Must be 4-byte aligned.
DecompressedSource
Type: D3D12_GPU_VIRTUAL_ADDRESS
The address of the non-compressed source. Must be in graphics memory. Must be 4-byte aligned. The maximum size of the memory pointed to by this parameter is 4MB.
SourceSizeBytes
Type: UINT64
The size of the non-compressed source, in bytes.
Type: HRESULT
One of the Direct3D 12 return codes.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.