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