internal static _GetAdapterCount GetAdapterCount() { if (_GetAdapterCountFunc == null) { _GetAdapterCountFunc = (_GetAdapterCount)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGFXInit_getAdapterCount"), typeof(_GetAdapterCount)); } return(_GetAdapterCountFunc); }
internal static _GetAdapterCount GetAdapterCount() { if (_GetAdapterCountFunc == null) { _GetAdapterCountFunc = (_GetAdapterCount)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGFXInit_getAdapterCount"), typeof(_GetAdapterCount)); } return(_GetAdapterCountFunc); }