MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / ~BlockedArray

Method ~BlockedArray

include/luxrays/utils/memory.h:330–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328 size_t uSize() const { return uRes; }
329 size_t vSize() const { return vRes; }
330 ~BlockedArray() {
331 for (size_t i = 0; i < uRes * vRes; ++i)
332 data[i].~T();
333 FreeAligned(data);
334 }
335 size_t Block(size_t a) const { return a >> logBlockSize; }
336 size_t Offset(size_t a) const { return (a & (BlockSize() - 1)); }
337 T &operator()(size_t u, size_t v) {

Callers

nothing calls this directly

Calls 1

FreeAlignedFunction · 0.85

Tested by

no test coverage detected