engine
 
载入中...
搜索中...
未找到
所有成员列表
FBulkDataAllocation类 参考

This is a wrapper for the BulkData memory allocation so we can use a single pointer to either reference a straight memory allocation or in the case that the BulkData object represents a memory mapped file region, a FOwnedBulkDataPtr. 更多...

#include <BulkData2.h>

详细描述

This is a wrapper for the BulkData memory allocation so we can use a single pointer to either reference a straight memory allocation or in the case that the BulkData object represents a memory mapped file region, a FOwnedBulkDataPtr.

This makes the code more complex but it means that we do not pay any additional memory cost when memory mapping isn't being used at a small cpu cost. However the number of BulkData object usually means that the memory saving is worth it compared to how infrequently the memory accessors are actually called.

Note: We use a flag set in the owning BulkData object to tell us what storage type we are using so all accessors require that a pointer to the parent object be passed in.


该类的文档由以下文件生成: