示例#1
0
	INT ResetDevice()
	{
		itLst	_F = mpEft.begin();
		itLst	_L = mpEft.end();

		for(; _F != _L; ++_F)
		{
			LPD3DXEFFECT pEft = _F->second;

			if(FAILED(pEft->OnResetDevice()))
				return -1;
		}

		return 0;
	}