![]() |
OpenVDB 13.1.0
|
Policy that preserves getDim's skip-flag fast path. If an InternalNode short-circuits, active is unspecified and must be gated on dim. Otherwise the leaf-level active read is fused into the descent. Use for logic such as if (hdda.dim() > 1 || !active) continue;, where the short-circuit ensures active is read only after a leaf-level descent.
More...
#include <nanovdb/NanoVDB.h>
Policy that preserves getDim's skip-flag fast path. If an InternalNode short-circuits, active is unspecified and must be gated on dim. Otherwise the leaf-level active read is fused into the descent. Use for logic such as if (hdda.dim() > 1 || !active) continue;, where the short-circuit ensures active is read only after a leaf-level descent.