MCPcopy Create free account
hub / github.com/Kitware/VTK / ReleaseGraphicsTransfer1D

Method ReleaseGraphicsTransfer1D

Rendering/VolumeOpenGL2/vtkVolumeInputHelper.cxx:418–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418void vtkVolumeInputHelper::ReleaseGraphicsTransfer1D(vtkWindow* window)
419{
420 if (this->RGBTables)
421 {
422 this->RGBTables->ReleaseGraphicsResources(window);
423 }
424 this->RGBTables = nullptr;
425
426 if (this->OpacityTables)
427 {
428 this->OpacityTables->ReleaseGraphicsResources(window);
429 }
430 this->OpacityTables = nullptr;
431
432 if (this->GradientOpacityTables)
433 {
434 this->GradientOpacityTables->ReleaseGraphicsResources(window);
435 }
436 this->GradientOpacityTables = nullptr;
437}
438
439void vtkVolumeInputHelper::ReleaseGraphicsTransfer2D(vtkWindow* window)
440{

Callers 2

Calls 1

Tested by

no test coverage detected