Esempio n. 1
0
 public static void Initialize(D3DVersion ver)
 {
     switch (ver)
     {
     case D3DVersion.Direct3D9:
         Hook = new D3D9();
         break;
     }
     Hook.Initialize();
 }
Esempio n. 2
0
 public static void Initialize(D3DVersion ver)
 {
     switch (ver)
     {
         case D3DVersion.Direct3D9:
             Hook = new D3D9();
             break;
     }
     Hook.Initialize();
 }
Esempio n. 3
0
        public static void Initialize(D3DVersion ver)
        {
            switch (ver)
            {
                case D3DVersion.Direct3D9:
                    Hook = new D3D9();
                    break;
            #if FALSE
                case D3DVersion.Direct3D11:
                    Hook = new D3D11();
                    break;
            #endif
            }

               // if (Hook == null)
               //     throw new Exception("Hook = null!");

            Hook.Initialize();
        }
Esempio n. 4
0
        public static void Initialize(D3DVersion ver)
        {
            switch (ver)
            {
            case D3DVersion.Direct3D9:
                Hook = new D3D9();
                break;

#if FALSE
            case D3DVersion.Direct3D11:
                Hook = new D3D11();
                break;
#endif
            }

            // if (Hook == null)
            //     throw new Exception("Hook = null!");

            Hook.Initialize();
        }