internal static _GetVersion GetVersion() { if (_GetVersionFunc == null) { _GetVersionFunc = (_GetVersion)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGFXCardProfilerAPI_getVersion"), typeof(_GetVersion)); } return(_GetVersionFunc); }
internal static _GetVersion GetVersion() { if (_GetVersionFunc == null) { _GetVersionFunc = (_GetVersion)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGFXCardProfilerAPI_getVersion"), typeof(_GetVersion)); } return(_GetVersionFunc); }