Example #1
0
// ****************************************************************************
//  Destructor:  avtVolumeRenderer::~avtVolumeRenderer
//
//  Programmer:  Jeremy Meredith
//  Creation:    April  5, 2001
//
//  Modifications:
//    Jeremy Meredith, Tue Sep 30 11:44:21 PDT 2003
//    Pulled out the reference to alphatex.  It belonged in the subclass.
//    Added a call to ReleaseGraphicsResources.
//
//    Allen Harvey, Thurs Nov 3 7:21:13 EST 2011
//    Added support for holding a compact support variable
//
// ****************************************************************************
avtVolumeRenderer::~avtVolumeRenderer()
{
    ReleaseGraphicsResources();
    delete[] gx;
    delete[] gy;
    delete[] gz;
    delete[] gm;
    delete[] gmn;
    delete[] hs;
}
avtStreamlineRenderer::~avtStreamlineRenderer()
{
    ReleaseGraphicsResources();
}
avtSpreadsheetRenderer::~avtSpreadsheetRenderer()
{
    ReleaseGraphicsResources();
}
D3DCubeTextureRenderTarget::~D3DCubeTextureRenderTarget()
{
	ReleaseGraphicsResources();
}