Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/TBlockedDenseGrid3 > API/Runtime/GeometryCore/Spatial/TBlockedDenseGrid3/ProcessValueThreadSafe
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/BlockedDenseGrid3.h |
| Include | #include "Spatial/BlockedDenseGrid3.h" |
template<typename ProcessFunc>
void ProcessValueThreadSafe
&40;
int32 I,
int32 J,
int32 K,
ProcessFunc Func
&41;
Remarks
Call an external lambda with a reference to the grid value at (I,J,K). Called as Func(ElemType&), so the caller can both read and write the grid cell
note: if doing pure reads prefer the GetValue() methods because the ProcessValueThreadSafe method will allocate the underlying data block.