Inherits AZ::IO::IStreamerStackConfig.
◆ SplitSize
Dynamic options for the split size. It's possible to set static sizes or use the names from this enum to have AZ::IO::Streamer automatically fill in the sizes. Fixed sizes are set through the Settings Registry with "SplitSize": 524288, while dynamic values are set like "SplitSize": "MemoryAlignment". In the latter case AZ::IO::Streamer will use the available hardware information and fill in the actual value.
Enumerator |
---|
MemoryAlignment | The size of the minimal memory requirement of the storage device.
|
◆ AddStreamStackEntry()
◆ m_adjustOffset
bool AZ::IO::ReadSplitterConfig::m_adjustOffset { true } |
If set to true the read splitter will adjust offsets to align to the required size alignment. This should be disabled if the read splitter is in front of a cache like the block cache as it would negate the cache's ability to cache data.
◆ m_splitAlignedRequests
bool AZ::IO::ReadSplitterConfig::m_splitAlignedRequests { true } |
Whether or not to split reads even if they meet the alignment requirements. This is recommended for devices that can't cancel their requests.
◆ m_splitSize
SplitSize AZ::IO::ReadSplitterConfig::m_splitSize { 20 } |
The size at which reads are split. This can either be a fixed value that's explicitly supplied or a dynamic value that's retrieved from the provided hardware.
The documentation for this struct was generated from the following file:
- Code/Framework/AzCore/AzCore/IO/Streamer/ReadSplitter.h