internal static _GetAdapterName GetAdapterName() { if (_GetAdapterNameFunc == null) { _GetAdapterNameFunc = (_GetAdapterName)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGFXInit_getAdapterName"), typeof(_GetAdapterName)); } return(_GetAdapterNameFunc); }
internal static _GetAdapterName GetAdapterName() { if (_GetAdapterNameFunc == null) { _GetAdapterNameFunc = (_GetAdapterName)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGFXInit_getAdapterName"), typeof(_GetAdapterName)); } return(_GetAdapterNameFunc); }