internal static _GetAdapterModeCount GetAdapterModeCount() { if (_GetAdapterModeCountFunc == null) { _GetAdapterModeCountFunc = (_GetAdapterModeCount)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGFXInit_getAdapterModeCount"), typeof(_GetAdapterModeCount)); } return(_GetAdapterModeCountFunc); }
internal static _GetAdapterModeCount GetAdapterModeCount() { if (_GetAdapterModeCountFunc == null) { _GetAdapterModeCountFunc = (_GetAdapterModeCount)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGFXInit_getAdapterModeCount"), typeof(_GetAdapterModeCount)); } return(_GetAdapterModeCountFunc); }