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