11 #ifndef __CE_VDBGrid__
12 #define __CE_VDBGrid__
39 const cl::Buffer &
buffer()
const {
return myBuffer; }
50 void initFromVDB(
const openvdb::GridBase &grid);
57 void buildTileStarts(
const openvdb::GridBase &grid);
60 openvdb::GridBase::Ptr createVDB()
const;
65 void releaseTileStarts();
const cl::Buffer & tileStarts() const
UT_Array< UT_Vector3i > myTileStarts
bool hasTileStarts() const
cl::Buffer myTileStartsBuffer
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
bool hasBuffer() const
If the current OpenCL buffer is valid.