Esempio n. 1
0
            internal static _GetAdapterMode GetAdapterMode()
            {
                if (_GetAdapterModeFunc == null)
                {
                    _GetAdapterModeFunc =
                        (_GetAdapterMode)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGFXInit_getAdapterMode"), typeof(_GetAdapterMode));
                }

                return(_GetAdapterModeFunc);
            }
Esempio n. 2
0
            internal static _GetAdapterMode GetAdapterMode()
            {
                if (_GetAdapterModeFunc == null)
                {
                    _GetAdapterModeFunc =
                        (_GetAdapterMode)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGFXInit_getAdapterMode"), typeof(_GetAdapterMode));
                }

                return(_GetAdapterModeFunc);
            }