Open 3D Engine AzCore 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.
AZ::IO::DedicatedCacheConfig Struct Referencefinal

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< StreamStackEntryAddStreamStackEntry (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< StreamStackEntryAddStreamStackEntry (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 }
 

Member Function Documentation

◆ AddStreamStackEntry()

AZStd::shared_ptr< StreamStackEntry > AZ::IO::DedicatedCacheConfig::AddStreamStackEntry ( const HardwareInformation hardware,
AZStd::shared_ptr< StreamStackEntry parent 
)
overridevirtual

Member Data Documentation

◆ m_writeOnlyEpilog

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.


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