Skip to content

Add a CreateBuffers helper function

Kenneth Moreland requested to merge kmorel/vtk-m:create-buffers-function into master

Most ArrayHandle implementations must create an std::vector<vtkm::cont::internal::Buffer> object. It is most helpful to create it in the constructor when initializing the superclass (so the superclass does not have to create it's own). Added a CreateBuffers convenience function to make it easy to build these vectors.

Merge request reports

Loading