Inherits AZ::IO::IStreamerStackConfig.
Public Member Functions | |
AZ_RTTI (AZ::IO::DedicatedCacheConfig, "{DF0F6029-02B0-464C-9846-524654335BCC}", IStreamerStackConfig) | |
AZ_CLASS_ALLOCATOR (DedicatedCacheConfig, AZ::SystemAllocator) | |
AZStd::shared_ptr< StreamStackEntry > | AddStreamStackEntry (const HardwareInformation &hardware, AZStd::shared_ptr< StreamStackEntry > parent) override |
Public Member Functions inherited from AZ::IO::IStreamerStackConfig | |
AZ_RTTI (AZ::IO::IStreamerStackConfig, "{97266736-E55E-4BF4-9E4A-9D5A9FF4D230}") | |
AZ_CLASS_ALLOCATOR (IStreamerStackConfig, SystemAllocator) | |
virtual AZStd::shared_ptr< StreamStackEntry > | AddStreamStackEntry (const HardwareInformation &hardware, AZStd::shared_ptr< StreamStackEntry > parent)=0 |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Static Public Member Functions inherited from AZ::IO::IStreamerStackConfig | |
static void | Reflect (ReflectContext *context) |
Public Attributes | |
BlockCacheConfig::BlockSize | m_blockSize { BlockCacheConfig::BlockSize::MemoryAlignment } |
The size of the individual blocks inside the cache. | |
u32 | m_cacheSizeMib { 8 } |
The overall size of the cache in megabytes. | |
bool | m_writeOnlyEpilog { true } |
|
overridevirtual |
Implements AZ::IO::IStreamerStackConfig.
bool AZ::IO::DedicatedCacheConfig::m_writeOnlyEpilog { true } |
If true, only the epilog is written otherwise the prolog and epilog are written. In either case both prolog and epilog are read. For uses of the cache that read mostly sequentially this flag should be set to true. If reads are more random than it's better to set this flag to false.