internal static void OnNativeFunctionsRegistered() { lastGCFramePtr = (ulong *)Native_FGlobals.Get_GLastGCFramePtr(); frameNumberRenderThreadPtr = (uint *)Native_FGlobals.Get_GFrameNumberRenderThreadPtr(); frameCounterPtr = (ulong *)Native_FGlobals.Get_GFrameCounterPtr(); frameNumberPtr = (uint *)Native_FGlobals.Get_GFrameNumberPtr(); gpuFrameTimePtr = (uint *)Native_FGlobals.Get_GGPUFrameTimePtr(); }
/// <summary> /// Returns true if async loading is using the async loading thread /// </summary> public static bool IsAsyncLoadingMultithreaded() { return(Native_FGlobals.IsAsyncLoadingMultithreaded()); }
/// <summary> /// Resumes async package loading. /// </summary> public static void ResumeAsyncLoading() { Native_FGlobals.ResumeAsyncLoading(); }
/// <summary> /// Suspends async package loading. /// </summary> public static void SuspendAsyncLoading() { Native_FGlobals.SuspendAsyncLoading(); }
/// <summary> /// Whether we're currently in the async loading codepath or not /// </summary> public static bool IsAsyncLoading() { return(Native_FGlobals.IsAsyncLoading()); }