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