public void Setup(refw.D3D.EndSceneDetour detour) { this.detour = detour; detour.OnFrame += new Action <TimeSpan>(DirectX_OnFrame); detour.OnCreateDevice += new Action(DirectX_OnCreateDevice); detour.OnResetDevice += new Action <IntPtr>(DirectX_OnResetDevice); }
public void Setup(refw.D3D.EndSceneDetour detour) { this.detour = detour; detour.OnFrame += new Action<TimeSpan>(DirectX_OnFrame); detour.OnCreateDevice += new Action(DirectX_OnCreateDevice); detour.OnResetDevice += new Action<IntPtr>(DirectX_OnResetDevice); }