Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }