void LTEffectShaderMgr::RecreateEffectShaders() { LTEffectImpl *pShader = (LTEffectImpl*)(m_EffectShaders.GetFront()); while (pShader != NULL) { pShader->Recreate(); pShader = (LTEffectImpl*)(pShader->GetNext()); } }
void LTEffectShaderMgr::FreeDeviceObjects() { LTEffectImpl *pShader = (LTEffectImpl*)(m_EffectShaders.GetFront()); while (pShader != NULL) { pShader->FreeDeviceObject(); pShader = (LTEffectImpl*)(pShader->GetNext()); } }