Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkData.h |
Include |
#include "Serialization/BulkData.h" |
template<typename ElementType>
FBulkDataBuffer< ElementType > GetCopyAsBuffer
(
int64 RequestedElementCount,
bool bDiscardInternalCopy
)
Returns a copy encapsulated by a FBulkDataBuffer.
A FBulkDataBuffer that owns a copy of the BulkData, this might be a subset of the data depending on the value of RequestedSize.
Parameter |
Description |
---|---|
RequestedElementCount |
If set to greater than 0, the returned FBulkDataBuffer will be limited to this number of elements. This will give an error if larger than the actual number of elements in the BulkData object. |
bDiscardInternalCopy |
If true then the BulkData object will free it's internal buffer once called. |