Open 3D Engine Compression Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Compression::CompressionResultData Struct Reference

Public Member Functions

constexpr operator bool () const
 Returns a boolean true if compression has completed.
 
AZ::u64 GetCompressedByteCount () const
 Retrieves the compressed byte size.
 
AZStd::byte * GetCompressedByteData () const
 Retrieves the memory address of the compressed data.
 

Public Attributes

AZStd::span< AZStd::byte > m_compressedBuffer
 
CompressionOutcome m_compressionOutcome
 Outcome containing result of the compression operation.
 

Member Function Documentation

◆ GetCompressedByteCount()

AZ::u64 Compression::CompressionResultData::GetCompressedByteCount ( ) const
inline

Retrieves the compressed byte size.

Retrieves the compressed data size.

Member Data Documentation

◆ m_compressedBuffer

AZStd::span<AZStd::byte> Compression::CompressionResultData::m_compressedBuffer

Will be set to the memory address of the compressed buffer supplied to the compression interface CompressBlock command The size of the span will be set to actual uncompressed size


The documentation for this struct was generated from the following files: