Open 3D Engine Archive Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Stores settings to configure how Archive Reader Settings. More...
#include <ArchiveReaderAPI.h>
Public Types | |
using | ErrorCallback = AZStd::function< void(const ArchiveReaderError &)> |
Public Attributes | |
ErrorCallback | m_errorCallback = [](const ArchiveReaderError&) {} |
AZ::u32 | m_maxDecompressTasks { AZStd::thread::hardware_concurrency() } |
AZ::u32 | m_maxReadTasks { 1 } |
Stores settings to configure how Archive Reader Settings.
using Archive::ArchiveReaderSettings::ErrorCallback = AZStd::function<void(const ArchiveReaderError&)> |
Callback which is invoked by the ArchiveReader to inform users of errors that occurs This is used in by functions that can't return an error outcome such as constructors
AZ::u32 Archive::ArchiveReaderSettings::m_maxDecompressTasks { AZStd::thread::hardware_concurrency() } |
Configures the maximum number of decompression task that can run in parallel If the value is 0, then a single decompression task that will be run at a given moment
AZ::u32 Archive::ArchiveReaderSettings::m_maxReadTasks { 1 } |
Configures the maximum number of read task that can run in parallel For a value of 0 maps to a single read task