private static void SetupStartPerformanceCounterStaticLoop() { if (IsStartPerformanceCounterEnabled) { return; } EventHorizonBlazorInterop.AssemblyFuncCallback( "EventHorizon.Blazor.BabylonJS.WASM", "BABYLON.Tools.StartPerformanceCounter", "CallStartPerformanceCounterStaticActions" ); IsStartPerformanceCounterEnabled = true; }
private static void SetupOnNewCacheEntryStaticLoop() { if (IsOnNewCacheEntryEnabled) { return; } EventHorizonBlazorInterop.AssemblyFuncCallback( "EventHorizon.Blazor.BabylonJS.WASM", "BABYLON.Tools.OnNewCacheEntry", "CallOnNewCacheEntryStaticActions" ); IsOnNewCacheEntryEnabled = true; }
private static void SetupGetConstructorFromNameStaticLoop() { if (IsGetConstructorFromNameEnabled) { return; } EventHorizonBlazorInterop.AssemblyFuncCallback( "EventHorizon.Blazor.BabylonJS.WASM", "BABYLON.Camera.GetConstructorFromName", "CallGetConstructorFromNameStaticActions" ); IsGetConstructorFromNameEnabled = true; }
private static async ValueTask SetupGetConstructorFromNameStaticLoop() { if (IsGetConstructorFromNameEnabled) { return; } await EventHorizonBlazorInterop.AssemblyFuncCallback( "EventHorizon.Blazor.BabylonJS.Server", "BABYLON.Camera.GetConstructorFromName", "CallGetConstructorFromNameStaticActions" ); IsGetConstructorFromNameEnabled = true; }
private static async ValueTask SetupEndPerformanceCounterStaticLoop() { if (IsEndPerformanceCounterEnabled) { return; } await EventHorizonBlazorInterop.AssemblyFuncCallback( "EventHorizon.Blazor.BabylonJS.Server", "BABYLON.Tools.EndPerformanceCounter", "CallEndPerformanceCounterStaticActions" ); IsEndPerformanceCounterEnabled = true; }
private static async ValueTask SetupOnNewCacheEntryStaticLoop() { if (IsOnNewCacheEntryEnabled) { return; } await EventHorizonBlazorInterop.AssemblyFuncCallback( "EventHorizon.Blazor.BabylonJS.Server", "BABYLON.Tools.OnNewCacheEntry", "CallOnNewCacheEntryStaticActions" ); IsOnNewCacheEntryEnabled = true; }