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

Classes

class  MainThreadPerformanceQuery
 
class  MemoryLogger
 

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 GetFullModulePath (string moduleName)
 
static string[] GetFullModulePaths ()
 
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 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 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 int GetVertexBufferChunkSystemMemoryUsage ()
 
static int GetBuildNumber ()
 
static ApplicationVersion GetApplicationVersionWithBuildNumber ()
 
static void ParallelFor (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 DetachWatchdog ()
 

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()

static void TaleWorlds.Engine.Utilities.InitializeMemoryLogger ( )
static

◆ CaptureMemory()

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

◆ ConstructMainThreadJob() [1/2]

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

◆ ConstructMainThreadJob() [2/2]

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

◆ RunJobs()

static void TaleWorlds.Engine.Utilities.RunJobs ( )
static

◆ WaitJobs()

static void TaleWorlds.Engine.Utilities.WaitJobs ( )
static

◆ OutputBenchmarkValuesToPerformanceReporter()

static void TaleWorlds.Engine.Utilities.OutputBenchmarkValuesToPerformanceReporter ( )
static

◆ SetLoadingScreenPercentage()

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

◆ SetFixedDt()

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

◆ SetBenchmarkStatus()

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

◆ GetBenchmarkStatus()

static int TaleWorlds.Engine.Utilities.GetBenchmarkStatus ( )
static

◆ GetApplicationMemoryStatistics()

static string TaleWorlds.Engine.Utilities.GetApplicationMemoryStatistics ( )
static

◆ IsBenchmarkQuited()

static bool TaleWorlds.Engine.Utilities.IsBenchmarkQuited ( )
static

◆ GetNativeMemoryStatistics()

static string TaleWorlds.Engine.Utilities.GetNativeMemoryStatistics ( )
static

◆ CommandLineArgumentExists()

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

◆ GetConsoleHostMachine()

static string TaleWorlds.Engine.Utilities.GetConsoleHostMachine ( )
static

◆ ExportNavMeshFaceMarks()

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

◆ TakeSSFromTop()

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

◆ CheckIfAssetsAndSourcesAreSame()

static void TaleWorlds.Engine.Utilities.CheckIfAssetsAndSourcesAreSame ( )
static

◆ DisableCoreGame()

static void TaleWorlds.Engine.Utilities.DisableCoreGame ( )
static

◆ GetApplicationMemory()

static float TaleWorlds.Engine.Utilities.GetApplicationMemory ( )
static

◆ GatherCoreGameReferences()

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

◆ IsOnlyCoreContentEnabled()

static bool TaleWorlds.Engine.Utilities.IsOnlyCoreContentEnabled ( )
static

◆ FindMeshesWithoutLods()

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

◆ SetDisableDumpGeneration()

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

◆ SetPrintCallstackAtCrahses()

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

◆ GetModulesNames()

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

◆ GetFullModulePath()

static string TaleWorlds.Engine.Utilities.GetFullModulePath ( string  moduleName)
static

◆ GetFullModulePaths()

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

◆ GetFullFilePathOfScene()

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

◆ TryGetFullFilePathOfScene()

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

◆ TryGetUniqueIdentifiersForScene()

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

◆ TryGetUniqueIdentifiersForSceneFile()

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

◆ PairSceneNameToModuleName()

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

◆ GetSingleModuleScenesOfModule()

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

◆ GetFullCommandLineString()

static string TaleWorlds.Engine.Utilities.GetFullCommandLineString ( )
static

◆ SetScreenTextRenderingState()

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

◆ SetMessageLineRenderingState()

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

◆ CheckIfTerrainShaderHeaderGenerationFinished()

static bool TaleWorlds.Engine.Utilities.CheckIfTerrainShaderHeaderGenerationFinished ( )
static

◆ GenerateTerrainShaderHeaders()

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

◆ CompileTerrainShadersDist()

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

◆ SetCrashOnAsserts()

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

◆ SetCrashOnWarnings()

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

◆ ToggleRender()

static void TaleWorlds.Engine.Utilities.ToggleRender ( )
static

◆ SetRenderAgents()

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

◆ CheckShaderCompilation()

static bool TaleWorlds.Engine.Utilities.CheckShaderCompilation ( )
static

◆ CompileAllShaders()

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

◆ GetExecutableWorkingDirectory()

static string TaleWorlds.Engine.Utilities.GetExecutableWorkingDirectory ( )
static

◆ SetDumpFolderPath()

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

◆ CheckSceneForProblems()

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

◆ SetCoreGameState()

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

◆ GetCoreGameState()

static int TaleWorlds.Engine.Utilities.GetCoreGameState ( )
static

◆ ExecuteCommandLineCommand()

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

◆ QuitGame()

static void TaleWorlds.Engine.Utilities.QuitGame ( )
static

◆ ExitProcess()

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

◆ GetBasePath()

static string TaleWorlds.Engine.Utilities.GetBasePath ( )
static

◆ GetVisualTestsValidatePath()

static string TaleWorlds.Engine.Utilities.GetVisualTestsValidatePath ( )
static

◆ GetVisualTestsTestFilesPath()

static string TaleWorlds.Engine.Utilities.GetVisualTestsTestFilesPath ( )
static

◆ GetAttachmentsPath()

static string TaleWorlds.Engine.Utilities.GetAttachmentsPath ( )
static

◆ StartScenePerformanceReport()

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

◆ IsSceneReportFinished()

static bool TaleWorlds.Engine.Utilities.IsSceneReportFinished ( )
static

◆ GetFps()

static float TaleWorlds.Engine.Utilities.GetFps ( )
static

◆ GetMainFps()

static float TaleWorlds.Engine.Utilities.GetMainFps ( )
static

◆ GetRendererFps()

static float TaleWorlds.Engine.Utilities.GetRendererFps ( )
static

◆ EnableSingleGPUQueryPerFrame()

static void TaleWorlds.Engine.Utilities.EnableSingleGPUQueryPerFrame ( )
static

◆ ClearDecalAtlas()

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

◆ FlushManagedObjectsMemory()

static void TaleWorlds.Engine.Utilities.FlushManagedObjectsMemory ( )
static

◆ OnLoadingWindowEnabled()

static void TaleWorlds.Engine.Utilities.OnLoadingWindowEnabled ( )
static

◆ DebugSetGlobalLoadingWindowState()

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

◆ OnLoadingWindowDisabled()

static void TaleWorlds.Engine.Utilities.OnLoadingWindowDisabled ( )
static

◆ DisableGlobalLoadingWindow()

static void TaleWorlds.Engine.Utilities.DisableGlobalLoadingWindow ( )
static

◆ EnableGlobalLoadingWindow()

static void TaleWorlds.Engine.Utilities.EnableGlobalLoadingWindow ( )
static

◆ EnableGlobalEditDataCacher()

static void TaleWorlds.Engine.Utilities.EnableGlobalEditDataCacher ( )
static

◆ DoFullBakeAllLevelsAutomated()

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

◆ GetReturnCode()

static int TaleWorlds.Engine.Utilities.GetReturnCode ( )
static

◆ DisableGlobalEditDataCacher()

static void TaleWorlds.Engine.Utilities.DisableGlobalEditDataCacher ( )
static

◆ DoFullBakeSingleLevelAutomated()

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

◆ DoLightOnlyBakeSingleLevelAutomated()

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

◆ DoLightOnlyBakeAllLevelsAutomated()

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

◆ DidAutomatedGIBakeFinished()

static bool TaleWorlds.Engine.Utilities.DidAutomatedGIBakeFinished ( )
static

◆ GetSelectedEntities()

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

◆ DeleteEntitiesInEditorScene()

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

◆ CreateSelectionInEditor()

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

◆ SelectEntities()

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

◆ GetEntitiesOfSelectionSet()

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

◆ AddCommandLineFunction()

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

◆ GetNumberOfShaderCompilationsInProgress()

static int TaleWorlds.Engine.Utilities.GetNumberOfShaderCompilationsInProgress ( )
static

◆ IsDetailedSoundLogOn()

static int TaleWorlds.Engine.Utilities.IsDetailedSoundLogOn ( )
static

◆ GetCurrentCpuMemoryUsageMB()

static UInt64 TaleWorlds.Engine.Utilities.GetCurrentCpuMemoryUsageMB ( )
static

◆ GetGpuMemoryOfAllocationGroup()

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

◆ GetGPUMemoryStats()

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

◆ GetDetailedGPUMemoryData()

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

◆ SetRenderMode()

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

◆ SetForceDrawEntityID()

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

◆ AddPerformanceReportToken()

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

◆ AddSceneObjectReport()

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

◆ OutputPerformanceReports()

static void TaleWorlds.Engine.Utilities.OutputPerformanceReports ( )
static

◆ TakeScreenshot() [1/2]

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

◆ TakeScreenshot() [2/2]

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

◆ SetAllocationAlwaysValidScene()

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

◆ CheckResourceModifications()

static void TaleWorlds.Engine.Utilities.CheckResourceModifications ( )
static

◆ SetGraphicsPreset()

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

◆ GetLocalOutputPath()

static string TaleWorlds.Engine.Utilities.GetLocalOutputPath ( )
static

◆ GetPCInfo()

static string TaleWorlds.Engine.Utilities.GetPCInfo ( )
static

◆ GetGPUMemoryMB()

static int TaleWorlds.Engine.Utilities.GetGPUMemoryMB ( )
static

◆ GetCurrentEstimatedGPUMemoryCostMB()

static int TaleWorlds.Engine.Utilities.GetCurrentEstimatedGPUMemoryCostMB ( )
static

◆ DumpGPUMemoryStatistics()

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

◆ SaveDataAsTexture()

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

◆ ClearOldResourcesAndObjects()

static void TaleWorlds.Engine.Utilities.ClearOldResourcesAndObjects ( )
static

◆ LoadVirtualTextureTileset()

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

◆ GetDeltaTime()

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

◆ LoadSkyBoxes()

static void TaleWorlds.Engine.Utilities.LoadSkyBoxes ( )
static

◆ GetApplicationName()

static string TaleWorlds.Engine.Utilities.GetApplicationName ( )
static

◆ SetWindowTitle()

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

◆ ProcessWindowTitle()

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

◆ GetCurrentProcessID()

static uint TaleWorlds.Engine.Utilities.GetCurrentProcessID ( )
static

◆ DoDelayedexit()

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

◆ SetAssertionsAndWarningsSetExitCode()

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

◆ SetReportMode()

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

◆ SetAssertionAtShaderCompile()

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

◆ SetCrashReportCustomString()

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

◆ SetCrashReportCustomStack()

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

◆ GetSteamAppId()

static int TaleWorlds.Engine.Utilities.GetSteamAppId ( )
static

◆ SetForceVsync()

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

◆ LoadBannerlordConfigFile()

static string TaleWorlds.Engine.Utilities.LoadBannerlordConfigFile ( )
static

◆ SaveConfigFile()

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

◆ OpenOnscreenKeyboard()

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

◆ GetSystemLanguage()

static string TaleWorlds.Engine.Utilities.GetSystemLanguage ( )
static

◆ RegisterGPUAllocationGroup()

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

◆ GetMemoryUsageOfCategory()

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

◆ GetDetailedXBOXMemoryInfo()

static string TaleWorlds.Engine.Utilities.GetDetailedXBOXMemoryInfo ( )
static

◆ SetFrameLimiterWithSleep()

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

◆ GetFrameLimiterWithSleep()

static bool TaleWorlds.Engine.Utilities.GetFrameLimiterWithSleep ( )
static

◆ GetVertexBufferChunkSystemMemoryUsage()

static int TaleWorlds.Engine.Utilities.GetVertexBufferChunkSystemMemoryUsage ( )
static

◆ GetBuildNumber()

static int TaleWorlds.Engine.Utilities.GetBuildNumber ( )
static

◆ GetApplicationVersionWithBuildNumber()

static ApplicationVersion TaleWorlds.Engine.Utilities.GetApplicationVersionWithBuildNumber ( )
static

◆ ParallelFor()

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

◆ ClearShaderMemory()

static void TaleWorlds.Engine.Utilities.ClearShaderMemory ( )
static

◆ RegisterMeshForGPUMorph()

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

◆ ParallelForWithDt()

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

◆ GetMainThreadId()

static ulong TaleWorlds.Engine.Utilities.GetMainThreadId ( )
static

◆ GetCurrentThreadId()

static ulong TaleWorlds.Engine.Utilities.GetCurrentThreadId ( )
static

◆ SetWatchdogValue()

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

◆ DetachWatchdog()

static void TaleWorlds.Engine.Utilities.DetachWatchdog ( )
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