Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TBasicBlockedDenseGrid3
Description
Pre-allocate the grid blocks that also exist in SourceGrid of the same dimensions. This is useful in grid-processing algorithms where parallel grid operations can be done without locking if the blocks are already allocated.
| Name | PreAllocateFromSourceGrid |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/BlockedDenseGrid3.h |
| Include Path | #include "Spatial/BlockedDenseGrid3.h" |
template<typename OtherElemType>
bool PreAllocateFromSourceGrid
(
const TBasicBlockedDenseGrid3 < OtherElemType, BlockSize > & SourceGrid
)
false on failure (e.g. different sized grids), otherwise true.