M&B: Bannerlord 1.3.14
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.Utilities Class Reference

Classes

class  MemoryLogger
class  MainThreadPerformanceQuery

Public Types

enum  EngineRenderDisplayMode {
  ShowNone = 0 ,
  ShowAlbedo ,
  ShowNormals ,
  ShowVertexNormals ,
  ShowSpecular ,
  ShowGloss ,
  ShowOcclusion ,
  ShowGbufferShadowMask ,
  ShowTranslucency ,
  ShowMotionVector ,
  ShowVertexColor ,
  ShowDepth ,
  ShowTiledLightOverdraw ,
  ShowTiledDecalOverdraw ,
  ShowMeshId ,
  ShowDisableSunLighting ,
  ShowDebugTexture ,
  ShowTextureDensity ,
  ShowOverdraw ,
  ShowVsComplexity ,
  ShowPsComplexity ,
  ShowDisableAmbientLighting ,
  ShowEntityId ,
  ShowPrtDiffuseAmbient ,
  ShowLightDebugMode ,
  ShowParticleShadingAtlas ,
  ShowTerrainAngle ,
  ShowParallaxDebug ,
  ShowAlbedoValidation ,
  NumDebugModes
}

Static Public Member Functions

static void InitializeMemoryLogger ()
static void CaptureMemory (string name)
static void ConstructMainThreadJob (Delegate function, params object[] parameters)
static void ConstructMainThreadJob (Semaphore semaphore, Delegate function, params object[] parameters)
static void RunJobs ()
static void WaitJobs ()
static void OutputBenchmarkValuesToPerformanceReporter ()
static void SetLoadingScreenPercentage (float value)
static void SetFixedDt (bool enabled, float dt)
static void SetBenchmarkStatus (int status, string def)
static int GetBenchmarkStatus ()
static string GetApplicationMemoryStatistics ()
static bool IsBenchmarkQuited ()
static string GetNativeMemoryStatistics ()
static bool CommandLineArgumentExists (String str)
static string GetConsoleHostMachine ()
static string ExportNavMeshFaceMarks (string file_name)
static string TakeSSFromTop (string file_name)
static void CheckIfAssetsAndSourcesAreSame ()
static void DisableCoreGame ()
static float GetApplicationMemory ()
static void GatherCoreGameReferences (string scene_names)
static bool IsOnlyCoreContentEnabled ()
static void FindMeshesWithoutLods (string module_name)
static void SetDisableDumpGeneration (bool value)
static void SetPrintCallstackAtCrahses (bool value)
static string[] GetModulesNames ()
static string GetFullFilePathOfScene (string sceneName)
static bool TryGetFullFilePathOfScene (string sceneName, out string fullPath)
static bool TryGetUniqueIdentifiersForScene (string sceneName, out UniqueSceneId identifiers)
static bool TryGetUniqueIdentifiersForSceneFile (string xsceneFilePath, out UniqueSceneId identifiers)
static void PairSceneNameToModuleName (string sceneName, string moduleName)
static string[] GetSingleModuleScenesOfModule (string moduleName)
static string GetFullCommandLineString ()
static void SetScreenTextRenderingState (bool state)
static void SetMessageLineRenderingState (bool state)
static bool CheckIfTerrainShaderHeaderGenerationFinished ()
static void GenerateTerrainShaderHeaders (string targetPlatform, string targetConfig, string output_path)
static void CompileTerrainShadersDist (string targetPlatform, string targetConfig, string output_path)
static void SetCrashOnAsserts (bool val)
static void SetCrashOnWarnings (bool val)
static void SetCreateDumpOnWarnings (bool val)
static void ToggleRender ()
static void SetRenderAgents (bool value)
static bool CheckShaderCompilation ()
static void CompileAllShaders (string targetPlatform)
static string GetExecutableWorkingDirectory ()
static void SetDumpFolderPath (string path)
static void CheckSceneForProblems (string sceneName)
static void SetCoreGameState (int state)
static int GetCoreGameState ()
static string ExecuteCommandLineCommand (string command)
static void QuitGame ()
static void ExitProcess (int exitCode)
static string GetBasePath ()
static string GetVisualTestsValidatePath ()
static string GetVisualTestsTestFilesPath ()
static string GetAttachmentsPath ()
static void StartScenePerformanceReport (string folderPath)
static bool IsSceneReportFinished ()
static float GetFps ()
static float GetMainFps ()
static float GetRendererFps ()
static void EnableSingleGPUQueryPerFrame ()
static void ClearDecalAtlas (DecalAtlasGroup atlasGroup)
static void FlushManagedObjectsMemory ()
static void OnLoadingWindowEnabled ()
static void DebugSetGlobalLoadingWindowState (bool newState)
static void OnLoadingWindowDisabled ()
static void DisableGlobalLoadingWindow ()
static void EnableGlobalLoadingWindow ()
static void EnableGlobalEditDataCacher ()
static void DoFullBakeAllLevelsAutomated (string module, string scene)
static int GetReturnCode ()
static void DisableGlobalEditDataCacher ()
static void DoFullBakeSingleLevelAutomated (string module, string scene)
static void DoLightOnlyBakeSingleLevelAutomated (string module, string scene)
static void DoLightOnlyBakeAllLevelsAutomated (string module, string scene)
static bool DidAutomatedGIBakeFinished ()
static void GetSelectedEntities (ref List< GameEntity > gameEntities)
static void DeleteEntitiesInEditorScene (List< GameEntity > gameEntities)
static void CreateSelectionInEditor (List< GameEntity > gameEntities, string name)
static void SelectEntities (List< GameEntity > gameEntities)
static void GetEntitiesOfSelectionSet (string selectionSetName, ref List< GameEntity > gameEntities)
static void AddCommandLineFunction (string concatName)
static int GetNumberOfShaderCompilationsInProgress ()
static int IsDetailedSoundLogOn ()
static UInt64 GetCurrentCpuMemoryUsageMB ()
static UInt64 GetGpuMemoryOfAllocationGroup (string name)
static void GetGPUMemoryStats (ref float totalMemory, ref float renderTargetMemory, ref float depthTargetMemory, ref float srvMemory, ref float bufferMemory)
static void GetDetailedGPUMemoryData (ref int totalMemoryAllocated, ref int totalMemoryUsed, ref int emptyChunkTotalSize)
static void SetRenderMode (EngineRenderDisplayMode mode)
static void SetForceDrawEntityID (bool value)
static void AddPerformanceReportToken (string performance_type, string name, float loading_time)
static void AddSceneObjectReport (string scene_name, string report_name, float report_value)
static void OutputPerformanceReports ()
static void TakeScreenshot (PlatformFilePath path)
static void TakeScreenshot (string path)
static void SetAllocationAlwaysValidScene (Scene scene)
static void CheckResourceModifications ()
static void SetGraphicsPreset (int preset)
static string GetLocalOutputPath ()
static string GetPCInfo ()
static int GetGPUMemoryMB ()
static int GetCurrentEstimatedGPUMemoryCostMB ()
static void DumpGPUMemoryStatistics (string filePath)
static int SaveDataAsTexture (string path, int width, int height, float[] data)
static void ClearOldResourcesAndObjects ()
static void LoadVirtualTextureTileset (string name)
static float GetDeltaTime (int timerId)
static void LoadSkyBoxes ()
static string GetApplicationName ()
static void OpenNavalDlcPurchasePage ()
static void SetWindowTitle (string title)
static string ProcessWindowTitle (string title)
static uint GetCurrentProcessID ()
static void DoDelayedexit (int returnCode)
static void SetAssertionsAndWarningsSetExitCode (bool value)
static void SetReportMode (bool reportMode)
static void SetAssertionAtShaderCompile (bool value)
static void SetCrashReportCustomString (string customString)
static void SetCrashReportCustomStack (string customStack)
static int GetSteamAppId ()
static void SetForceVsync (bool value)
static string LoadBannerlordConfigFile ()
static SaveResult SaveConfigFile (string configProperties)
static void OpenOnscreenKeyboard (string initialText, string descriptionText, int maxLength, int keyboardTypeEnum)
static string GetSystemLanguage ()
static int RegisterGPUAllocationGroup (string name)
static int GetMemoryUsageOfCategory (int category)
static string GetDetailedXBOXMemoryInfo ()
static void SetFrameLimiterWithSleep (bool value)
static bool GetFrameLimiterWithSleep ()
static string GetPossibleCommandLineStartingWith (string command, int index)
static bool IsDevkit ()
static bool IsLockhartPlatform ()
static int GetVertexBufferChunkSystemMemoryUsage ()
static int GetBuildNumber ()
static ApplicationVersion GetApplicationVersionWithBuildNumber ()
static void ParallelFor (int startIndex, int endIndex, long curKey, int grainSize)
static void ParallelForWithoutRenderThread (int startIndex, int endIndex, long curKey, int grainSize)
static void ClearShaderMemory ()
static void RegisterMeshForGPUMorph (string metaMeshName)
static void ParallelForWithDt (int startIndex, int endIndex, long curKey, int grainSize)
static ulong GetMainThreadId ()
static ulong GetCurrentThreadId ()
static void SetWatchdogValue (string fileName, string groupName, string key, string value)
static void SetWatchdogAutoreport (bool enabled)
static void DetachWatchdog ()
static string GetPlatformModulePaths ()
static bool IsAsyncPhysicsThread ()
static void StartLoadingStuckCheckState (float timeoutThresholdSeconds)
static void EndLoadingStuckCheckState ()

Static Public Attributes

static bool renderingActive = true

Properties

static int EngineFrameNo [get]
static bool EditModeEnabled [get]

Member Enumeration Documentation

◆ EngineRenderDisplayMode

Enumerator
ShowNone 
ShowAlbedo 
ShowNormals 
ShowVertexNormals 
ShowSpecular 
ShowGloss 
ShowOcclusion 
ShowGbufferShadowMask 
ShowTranslucency 
ShowMotionVector 
ShowVertexColor 
ShowDepth 
ShowTiledLightOverdraw 
ShowTiledDecalOverdraw 
ShowMeshId 
ShowDisableSunLighting 
ShowDebugTexture 
ShowTextureDensity 
ShowOverdraw 
ShowVsComplexity 
ShowPsComplexity 
ShowDisableAmbientLighting 
ShowEntityId 
ShowPrtDiffuseAmbient 
ShowLightDebugMode 
ShowParticleShadingAtlas 
ShowTerrainAngle 
ShowParallaxDebug 
ShowAlbedoValidation 
NumDebugModes 

Member Function Documentation

◆ InitializeMemoryLogger()

void TaleWorlds.Engine.Utilities.InitializeMemoryLogger ( )
static

◆ CaptureMemory()

void TaleWorlds.Engine.Utilities.CaptureMemory ( string name)
static

◆ ConstructMainThreadJob() [1/2]

void TaleWorlds.Engine.Utilities.ConstructMainThreadJob ( Delegate function,
params object[] parameters )
static

◆ ConstructMainThreadJob() [2/2]

void TaleWorlds.Engine.Utilities.ConstructMainThreadJob ( Semaphore semaphore,
Delegate function,
params object[] parameters )
static

◆ RunJobs()

void TaleWorlds.Engine.Utilities.RunJobs ( )
static

◆ WaitJobs()

void TaleWorlds.Engine.Utilities.WaitJobs ( )
static

◆ OutputBenchmarkValuesToPerformanceReporter()

void TaleWorlds.Engine.Utilities.OutputBenchmarkValuesToPerformanceReporter ( )
static

◆ SetLoadingScreenPercentage()

void TaleWorlds.Engine.Utilities.SetLoadingScreenPercentage ( float value)
static

◆ SetFixedDt()

void TaleWorlds.Engine.Utilities.SetFixedDt ( bool enabled,
float dt )
static

◆ SetBenchmarkStatus()

void TaleWorlds.Engine.Utilities.SetBenchmarkStatus ( int status,
string def )
static

◆ GetBenchmarkStatus()

int TaleWorlds.Engine.Utilities.GetBenchmarkStatus ( )
static

◆ GetApplicationMemoryStatistics()

string TaleWorlds.Engine.Utilities.GetApplicationMemoryStatistics ( )
static

◆ IsBenchmarkQuited()

bool TaleWorlds.Engine.Utilities.IsBenchmarkQuited ( )
static

◆ GetNativeMemoryStatistics()

string TaleWorlds.Engine.Utilities.GetNativeMemoryStatistics ( )
static

◆ CommandLineArgumentExists()

bool TaleWorlds.Engine.Utilities.CommandLineArgumentExists ( String str)
static

◆ GetConsoleHostMachine()

string TaleWorlds.Engine.Utilities.GetConsoleHostMachine ( )
static

◆ ExportNavMeshFaceMarks()

string TaleWorlds.Engine.Utilities.ExportNavMeshFaceMarks ( string file_name)
static

◆ TakeSSFromTop()

string TaleWorlds.Engine.Utilities.TakeSSFromTop ( string file_name)
static

◆ CheckIfAssetsAndSourcesAreSame()

void TaleWorlds.Engine.Utilities.CheckIfAssetsAndSourcesAreSame ( )
static

◆ DisableCoreGame()

void TaleWorlds.Engine.Utilities.DisableCoreGame ( )
static

◆ GetApplicationMemory()

float TaleWorlds.Engine.Utilities.GetApplicationMemory ( )
static

◆ GatherCoreGameReferences()

void TaleWorlds.Engine.Utilities.GatherCoreGameReferences ( string scene_names)
static

◆ IsOnlyCoreContentEnabled()

bool TaleWorlds.Engine.Utilities.IsOnlyCoreContentEnabled ( )
static

◆ FindMeshesWithoutLods()

void TaleWorlds.Engine.Utilities.FindMeshesWithoutLods ( string module_name)
static

◆ SetDisableDumpGeneration()

void TaleWorlds.Engine.Utilities.SetDisableDumpGeneration ( bool value)
static

◆ SetPrintCallstackAtCrahses()

void TaleWorlds.Engine.Utilities.SetPrintCallstackAtCrahses ( bool value)
static

◆ GetModulesNames()

string[] TaleWorlds.Engine.Utilities.GetModulesNames ( )
static

◆ GetFullFilePathOfScene()

string TaleWorlds.Engine.Utilities.GetFullFilePathOfScene ( string sceneName)
static

◆ TryGetFullFilePathOfScene()

bool TaleWorlds.Engine.Utilities.TryGetFullFilePathOfScene ( string sceneName,
out string fullPath )
static

◆ TryGetUniqueIdentifiersForScene()

bool TaleWorlds.Engine.Utilities.TryGetUniqueIdentifiersForScene ( string sceneName,
out UniqueSceneId identifiers )
static

◆ TryGetUniqueIdentifiersForSceneFile()

bool TaleWorlds.Engine.Utilities.TryGetUniqueIdentifiersForSceneFile ( string xsceneFilePath,
out UniqueSceneId identifiers )
static

◆ PairSceneNameToModuleName()

void TaleWorlds.Engine.Utilities.PairSceneNameToModuleName ( string sceneName,
string moduleName )
static

◆ GetSingleModuleScenesOfModule()

string[] TaleWorlds.Engine.Utilities.GetSingleModuleScenesOfModule ( string moduleName)
static

◆ GetFullCommandLineString()

string TaleWorlds.Engine.Utilities.GetFullCommandLineString ( )
static

◆ SetScreenTextRenderingState()

void TaleWorlds.Engine.Utilities.SetScreenTextRenderingState ( bool state)
static

◆ SetMessageLineRenderingState()

void TaleWorlds.Engine.Utilities.SetMessageLineRenderingState ( bool state)
static

◆ CheckIfTerrainShaderHeaderGenerationFinished()

bool TaleWorlds.Engine.Utilities.CheckIfTerrainShaderHeaderGenerationFinished ( )
static

◆ GenerateTerrainShaderHeaders()

void TaleWorlds.Engine.Utilities.GenerateTerrainShaderHeaders ( string targetPlatform,
string targetConfig,
string output_path )
static

◆ CompileTerrainShadersDist()

void TaleWorlds.Engine.Utilities.CompileTerrainShadersDist ( string targetPlatform,
string targetConfig,
string output_path )
static

◆ SetCrashOnAsserts()

void TaleWorlds.Engine.Utilities.SetCrashOnAsserts ( bool val)
static

◆ SetCrashOnWarnings()

void TaleWorlds.Engine.Utilities.SetCrashOnWarnings ( bool val)
static

◆ SetCreateDumpOnWarnings()

void TaleWorlds.Engine.Utilities.SetCreateDumpOnWarnings ( bool val)
static

◆ ToggleRender()

void TaleWorlds.Engine.Utilities.ToggleRender ( )
static

◆ SetRenderAgents()

void TaleWorlds.Engine.Utilities.SetRenderAgents ( bool value)
static

◆ CheckShaderCompilation()

bool TaleWorlds.Engine.Utilities.CheckShaderCompilation ( )
static

◆ CompileAllShaders()

void TaleWorlds.Engine.Utilities.CompileAllShaders ( string targetPlatform)
static

◆ GetExecutableWorkingDirectory()

string TaleWorlds.Engine.Utilities.GetExecutableWorkingDirectory ( )
static

◆ SetDumpFolderPath()

void TaleWorlds.Engine.Utilities.SetDumpFolderPath ( string path)
static

◆ CheckSceneForProblems()

void TaleWorlds.Engine.Utilities.CheckSceneForProblems ( string sceneName)
static

◆ SetCoreGameState()

void TaleWorlds.Engine.Utilities.SetCoreGameState ( int state)
static

◆ GetCoreGameState()

int TaleWorlds.Engine.Utilities.GetCoreGameState ( )
static

◆ ExecuteCommandLineCommand()

string TaleWorlds.Engine.Utilities.ExecuteCommandLineCommand ( string command)
static

◆ QuitGame()

void TaleWorlds.Engine.Utilities.QuitGame ( )
static

◆ ExitProcess()

void TaleWorlds.Engine.Utilities.ExitProcess ( int exitCode)
static

◆ GetBasePath()

string TaleWorlds.Engine.Utilities.GetBasePath ( )
static

◆ GetVisualTestsValidatePath()

string TaleWorlds.Engine.Utilities.GetVisualTestsValidatePath ( )
static

◆ GetVisualTestsTestFilesPath()

string TaleWorlds.Engine.Utilities.GetVisualTestsTestFilesPath ( )
static

◆ GetAttachmentsPath()

string TaleWorlds.Engine.Utilities.GetAttachmentsPath ( )
static

◆ StartScenePerformanceReport()

void TaleWorlds.Engine.Utilities.StartScenePerformanceReport ( string folderPath)
static

◆ IsSceneReportFinished()

bool TaleWorlds.Engine.Utilities.IsSceneReportFinished ( )
static

◆ GetFps()

float TaleWorlds.Engine.Utilities.GetFps ( )
static

◆ GetMainFps()

float TaleWorlds.Engine.Utilities.GetMainFps ( )
static

◆ GetRendererFps()

float TaleWorlds.Engine.Utilities.GetRendererFps ( )
static

◆ EnableSingleGPUQueryPerFrame()

void TaleWorlds.Engine.Utilities.EnableSingleGPUQueryPerFrame ( )
static

◆ ClearDecalAtlas()

void TaleWorlds.Engine.Utilities.ClearDecalAtlas ( DecalAtlasGroup atlasGroup)
static

◆ FlushManagedObjectsMemory()

void TaleWorlds.Engine.Utilities.FlushManagedObjectsMemory ( )
static

◆ OnLoadingWindowEnabled()

void TaleWorlds.Engine.Utilities.OnLoadingWindowEnabled ( )
static

◆ DebugSetGlobalLoadingWindowState()

void TaleWorlds.Engine.Utilities.DebugSetGlobalLoadingWindowState ( bool newState)
static

◆ OnLoadingWindowDisabled()

void TaleWorlds.Engine.Utilities.OnLoadingWindowDisabled ( )
static

◆ DisableGlobalLoadingWindow()

void TaleWorlds.Engine.Utilities.DisableGlobalLoadingWindow ( )
static

◆ EnableGlobalLoadingWindow()

void TaleWorlds.Engine.Utilities.EnableGlobalLoadingWindow ( )
static

◆ EnableGlobalEditDataCacher()

void TaleWorlds.Engine.Utilities.EnableGlobalEditDataCacher ( )
static

◆ DoFullBakeAllLevelsAutomated()

void TaleWorlds.Engine.Utilities.DoFullBakeAllLevelsAutomated ( string module,
string scene )
static

◆ GetReturnCode()

int TaleWorlds.Engine.Utilities.GetReturnCode ( )
static

◆ DisableGlobalEditDataCacher()

void TaleWorlds.Engine.Utilities.DisableGlobalEditDataCacher ( )
static

◆ DoFullBakeSingleLevelAutomated()

void TaleWorlds.Engine.Utilities.DoFullBakeSingleLevelAutomated ( string module,
string scene )
static

◆ DoLightOnlyBakeSingleLevelAutomated()

void TaleWorlds.Engine.Utilities.DoLightOnlyBakeSingleLevelAutomated ( string module,
string scene )
static

◆ DoLightOnlyBakeAllLevelsAutomated()

void TaleWorlds.Engine.Utilities.DoLightOnlyBakeAllLevelsAutomated ( string module,
string scene )
static

◆ DidAutomatedGIBakeFinished()

bool TaleWorlds.Engine.Utilities.DidAutomatedGIBakeFinished ( )
static

◆ GetSelectedEntities()

void TaleWorlds.Engine.Utilities.GetSelectedEntities ( ref List< GameEntity > gameEntities)
static

◆ DeleteEntitiesInEditorScene()

void TaleWorlds.Engine.Utilities.DeleteEntitiesInEditorScene ( List< GameEntity > gameEntities)
static

◆ CreateSelectionInEditor()

void TaleWorlds.Engine.Utilities.CreateSelectionInEditor ( List< GameEntity > gameEntities,
string name )
static

◆ SelectEntities()

void TaleWorlds.Engine.Utilities.SelectEntities ( List< GameEntity > gameEntities)
static

◆ GetEntitiesOfSelectionSet()

void TaleWorlds.Engine.Utilities.GetEntitiesOfSelectionSet ( string selectionSetName,
ref List< GameEntity > gameEntities )
static

◆ AddCommandLineFunction()

void TaleWorlds.Engine.Utilities.AddCommandLineFunction ( string concatName)
static

◆ GetNumberOfShaderCompilationsInProgress()

int TaleWorlds.Engine.Utilities.GetNumberOfShaderCompilationsInProgress ( )
static

◆ IsDetailedSoundLogOn()

int TaleWorlds.Engine.Utilities.IsDetailedSoundLogOn ( )
static

◆ GetCurrentCpuMemoryUsageMB()

UInt64 TaleWorlds.Engine.Utilities.GetCurrentCpuMemoryUsageMB ( )
static

◆ GetGpuMemoryOfAllocationGroup()

UInt64 TaleWorlds.Engine.Utilities.GetGpuMemoryOfAllocationGroup ( string name)
static

◆ GetGPUMemoryStats()

void TaleWorlds.Engine.Utilities.GetGPUMemoryStats ( ref float totalMemory,
ref float renderTargetMemory,
ref float depthTargetMemory,
ref float srvMemory,
ref float bufferMemory )
static

◆ GetDetailedGPUMemoryData()

void TaleWorlds.Engine.Utilities.GetDetailedGPUMemoryData ( ref int totalMemoryAllocated,
ref int totalMemoryUsed,
ref int emptyChunkTotalSize )
static

◆ SetRenderMode()

void TaleWorlds.Engine.Utilities.SetRenderMode ( EngineRenderDisplayMode mode)
static

◆ SetForceDrawEntityID()

void TaleWorlds.Engine.Utilities.SetForceDrawEntityID ( bool value)
static

◆ AddPerformanceReportToken()

void TaleWorlds.Engine.Utilities.AddPerformanceReportToken ( string performance_type,
string name,
float loading_time )
static

◆ AddSceneObjectReport()

void TaleWorlds.Engine.Utilities.AddSceneObjectReport ( string scene_name,
string report_name,
float report_value )
static

◆ OutputPerformanceReports()

void TaleWorlds.Engine.Utilities.OutputPerformanceReports ( )
static

◆ TakeScreenshot() [1/2]

void TaleWorlds.Engine.Utilities.TakeScreenshot ( PlatformFilePath path)
static

◆ TakeScreenshot() [2/2]

void TaleWorlds.Engine.Utilities.TakeScreenshot ( string path)
static

◆ SetAllocationAlwaysValidScene()

void TaleWorlds.Engine.Utilities.SetAllocationAlwaysValidScene ( Scene scene)
static

◆ CheckResourceModifications()

void TaleWorlds.Engine.Utilities.CheckResourceModifications ( )
static

◆ SetGraphicsPreset()

void TaleWorlds.Engine.Utilities.SetGraphicsPreset ( int preset)
static

◆ GetLocalOutputPath()

string TaleWorlds.Engine.Utilities.GetLocalOutputPath ( )
static

◆ GetPCInfo()

string TaleWorlds.Engine.Utilities.GetPCInfo ( )
static

◆ GetGPUMemoryMB()

int TaleWorlds.Engine.Utilities.GetGPUMemoryMB ( )
static

◆ GetCurrentEstimatedGPUMemoryCostMB()

int TaleWorlds.Engine.Utilities.GetCurrentEstimatedGPUMemoryCostMB ( )
static

◆ DumpGPUMemoryStatistics()

void TaleWorlds.Engine.Utilities.DumpGPUMemoryStatistics ( string filePath)
static

◆ SaveDataAsTexture()

int TaleWorlds.Engine.Utilities.SaveDataAsTexture ( string path,
int width,
int height,
float[] data )
static

◆ ClearOldResourcesAndObjects()

void TaleWorlds.Engine.Utilities.ClearOldResourcesAndObjects ( )
static

◆ LoadVirtualTextureTileset()

void TaleWorlds.Engine.Utilities.LoadVirtualTextureTileset ( string name)
static

◆ GetDeltaTime()

float TaleWorlds.Engine.Utilities.GetDeltaTime ( int timerId)
static

◆ LoadSkyBoxes()

void TaleWorlds.Engine.Utilities.LoadSkyBoxes ( )
static

◆ GetApplicationName()

string TaleWorlds.Engine.Utilities.GetApplicationName ( )
static

◆ OpenNavalDlcPurchasePage()

void TaleWorlds.Engine.Utilities.OpenNavalDlcPurchasePage ( )
static

◆ SetWindowTitle()

void TaleWorlds.Engine.Utilities.SetWindowTitle ( string title)
static

◆ ProcessWindowTitle()

string TaleWorlds.Engine.Utilities.ProcessWindowTitle ( string title)
static

◆ GetCurrentProcessID()

uint TaleWorlds.Engine.Utilities.GetCurrentProcessID ( )
static

◆ DoDelayedexit()

void TaleWorlds.Engine.Utilities.DoDelayedexit ( int returnCode)
static

◆ SetAssertionsAndWarningsSetExitCode()

void TaleWorlds.Engine.Utilities.SetAssertionsAndWarningsSetExitCode ( bool value)
static

◆ SetReportMode()

void TaleWorlds.Engine.Utilities.SetReportMode ( bool reportMode)
static

◆ SetAssertionAtShaderCompile()

void TaleWorlds.Engine.Utilities.SetAssertionAtShaderCompile ( bool value)
static

◆ SetCrashReportCustomString()

void TaleWorlds.Engine.Utilities.SetCrashReportCustomString ( string customString)
static

◆ SetCrashReportCustomStack()

void TaleWorlds.Engine.Utilities.SetCrashReportCustomStack ( string customStack)
static

◆ GetSteamAppId()

int TaleWorlds.Engine.Utilities.GetSteamAppId ( )
static

◆ SetForceVsync()

void TaleWorlds.Engine.Utilities.SetForceVsync ( bool value)
static

◆ LoadBannerlordConfigFile()

string TaleWorlds.Engine.Utilities.LoadBannerlordConfigFile ( )
static

◆ SaveConfigFile()

SaveResult TaleWorlds.Engine.Utilities.SaveConfigFile ( string configProperties)
static

◆ OpenOnscreenKeyboard()

void TaleWorlds.Engine.Utilities.OpenOnscreenKeyboard ( string initialText,
string descriptionText,
int maxLength,
int keyboardTypeEnum )
static

◆ GetSystemLanguage()

string TaleWorlds.Engine.Utilities.GetSystemLanguage ( )
static

◆ RegisterGPUAllocationGroup()

int TaleWorlds.Engine.Utilities.RegisterGPUAllocationGroup ( string name)
static

◆ GetMemoryUsageOfCategory()

int TaleWorlds.Engine.Utilities.GetMemoryUsageOfCategory ( int category)
static

◆ GetDetailedXBOXMemoryInfo()

string TaleWorlds.Engine.Utilities.GetDetailedXBOXMemoryInfo ( )
static

◆ SetFrameLimiterWithSleep()

void TaleWorlds.Engine.Utilities.SetFrameLimiterWithSleep ( bool value)
static

◆ GetFrameLimiterWithSleep()

bool TaleWorlds.Engine.Utilities.GetFrameLimiterWithSleep ( )
static

◆ GetPossibleCommandLineStartingWith()

string TaleWorlds.Engine.Utilities.GetPossibleCommandLineStartingWith ( string command,
int index )
static

◆ IsDevkit()

bool TaleWorlds.Engine.Utilities.IsDevkit ( )
static

◆ IsLockhartPlatform()

bool TaleWorlds.Engine.Utilities.IsLockhartPlatform ( )
static

◆ GetVertexBufferChunkSystemMemoryUsage()

int TaleWorlds.Engine.Utilities.GetVertexBufferChunkSystemMemoryUsage ( )
static

◆ GetBuildNumber()

int TaleWorlds.Engine.Utilities.GetBuildNumber ( )
static

◆ GetApplicationVersionWithBuildNumber()

ApplicationVersion TaleWorlds.Engine.Utilities.GetApplicationVersionWithBuildNumber ( )
static

◆ ParallelFor()

void TaleWorlds.Engine.Utilities.ParallelFor ( int startIndex,
int endIndex,
long curKey,
int grainSize )
static

◆ ParallelForWithoutRenderThread()

void TaleWorlds.Engine.Utilities.ParallelForWithoutRenderThread ( int startIndex,
int endIndex,
long curKey,
int grainSize )
static

◆ ClearShaderMemory()

void TaleWorlds.Engine.Utilities.ClearShaderMemory ( )
static

◆ RegisterMeshForGPUMorph()

void TaleWorlds.Engine.Utilities.RegisterMeshForGPUMorph ( string metaMeshName)
static

◆ ParallelForWithDt()

void TaleWorlds.Engine.Utilities.ParallelForWithDt ( int startIndex,
int endIndex,
long curKey,
int grainSize )
static

◆ GetMainThreadId()

ulong TaleWorlds.Engine.Utilities.GetMainThreadId ( )
static

◆ GetCurrentThreadId()

ulong TaleWorlds.Engine.Utilities.GetCurrentThreadId ( )
static

◆ SetWatchdogValue()

void TaleWorlds.Engine.Utilities.SetWatchdogValue ( string fileName,
string groupName,
string key,
string value )
static

◆ SetWatchdogAutoreport()

void TaleWorlds.Engine.Utilities.SetWatchdogAutoreport ( bool enabled)
static

◆ DetachWatchdog()

void TaleWorlds.Engine.Utilities.DetachWatchdog ( )
static

◆ GetPlatformModulePaths()

string TaleWorlds.Engine.Utilities.GetPlatformModulePaths ( )
static

◆ IsAsyncPhysicsThread()

bool TaleWorlds.Engine.Utilities.IsAsyncPhysicsThread ( )
static

◆ StartLoadingStuckCheckState()

void TaleWorlds.Engine.Utilities.StartLoadingStuckCheckState ( float timeoutThresholdSeconds)
static

◆ EndLoadingStuckCheckState()

void TaleWorlds.Engine.Utilities.EndLoadingStuckCheckState ( )
static

Member Data Documentation

◆ renderingActive

bool TaleWorlds.Engine.Utilities.renderingActive = true
static

Property Documentation

◆ EngineFrameNo

int TaleWorlds.Engine.Utilities.EngineFrameNo
staticget

◆ EditModeEnabled

bool TaleWorlds.Engine.Utilities.EditModeEnabled
staticget