![]() |
OpenVDB 13.2.0
|
Wraps a byte-for-byte copy of a handle's buffer in a handle with that handle's layout. The layout already passed a header parse or GridHandle::adopt when the source was made, so it is not checked again. This also carries grids at unaligned offsets, which the constructors accept and GridHandle::adopt rejects. Used by cuda::copyTo. More...
#include <nanovdb/GridHandle.h>
Static Public Member Functions | |
| template<typename DstBufferT, typename SrcBufferT> | |
| static GridHandle< DstBufferT > | make (DstBufferT &&buffer, const GridHandle< SrcBufferT > &src) |
Wraps a byte-for-byte copy of a handle's buffer in a handle with that handle's layout. The layout already passed a header parse or GridHandle::adopt when the source was made, so it is not checked again. This also carries grids at unaligned offsets, which the constructors accept and GridHandle::adopt rejects. Used by cuda::copyTo.
|
inlinestatic |