internal static _GetBestDepthFormat GetBestDepthFormat() { if (_GetBestDepthFormatFunc == null) { _GetBestDepthFormatFunc = (_GetBestDepthFormat)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGFXCardProfilerAPI_getBestDepthFormat"), typeof(_GetBestDepthFormat)); } return(_GetBestDepthFormatFunc); }
internal static _GetBestDepthFormat GetBestDepthFormat() { if (_GetBestDepthFormatFunc == null) { _GetBestDepthFormatFunc = (_GetBestDepthFormat)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGFXCardProfilerAPI_getBestDepthFormat"), typeof(_GetBestDepthFormat)); } return(_GetBestDepthFormatFunc); }