mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 02:25:42 +00:00
Hold preset information in simple struct
Creating all the presets as vtkm::cont::ColorTable objects and passing them back was problematic. It caused state to be shared and caused issues when deallocating after the device deallocation methods were finalized. Instead, make a simple struct and build new color tables on the fly.
This commit is contained in:
parent
70e10459c7
commit
8984e74e8c