Exemplo n.º 1
0
    DepthRenderer::~DepthRenderer()
    {
        TextureManager* texMgr = TextureManager::getSingletonPtr();

        // Destroy render texture.
        if (!mDepthRenderTexture.isNull ()) {
            texMgr->remove (mDepthRenderTexture->getHandle ());
            mDepthRenderTexture.setNull ();
        }
    }
Exemplo n.º 2
0
GPUEntities::~GPUEntities()
{
    TextureManager* texMgr = TextureManager::getSingletonPtr();
    texMgr->remove(_gpuEntsData.c_str());
    texMgr->remove(_imposterTex.c_str());
}