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