Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Core.Platform Class Reference

Platform specific queries and functions. More...

Static Public Attributes

static readonly bool IsWindowsDesktop = Type == PlatformType.Windows
 Gets a value indicating whether the running platform is windows desktop. More...
 
static readonly bool IsRunningDebugAssembly = GetIsRunningDebugAssembly()
 Gets a value indicating whether the running assembly is a debug assembly. More...
 
static string TemporaryDirectory = GetTemporaryDirectory()
 The system temporary directory. More...
 
static string ApplicationTemporaryDirectory = GetApplicationTemporaryDirectory()
 The Application temporary directory. More...
 
static readonly string ApplicationLocalDirectory = GetApplicationLocalDirectory()
 The application local directory, where user can write local data (included in backup). More...
 
static readonly string ApplicationRoamingDirectory = GetApplicationRoamingDirectory()
 The application roaming directory, where user can write roaming data (included in backup). More...
 
static readonly string ApplicationCacheDirectory = GetApplicationCacheDirectory()
 The application cache directory, where user can write data that won't be backup. More...
 
static readonly string ApplicationDataDirectory = GetApplicationDataDirectory()
 The application data directory, where data is deployed. It could be read-only on some platforms. More...
 
static readonly string ApplicationBinaryDirectory = GetApplicationBinaryDirectory()
 The application directory, where assemblies are deployed. It could be read-only on some platforms. More...
 
static readonly string ApplicationExecutablePath = GetApplicationExecutablePath()
 

Properties

static string ApplicationDataSubDirectory [get, set]
 The (optional) application data subdirectory. If not null or empty, /data will be mounted on ApplicationDataDirectory/ApplicationDataSubDirectory More...
 
static bool IsVirtualFileSystemInitialized [get, set]
 

Detailed Description

Platform specific queries and functions.

Definition at line 15 of file Platform.cs.

Member Data Documentation

readonly string SiliconStudio.Core.Platform.ApplicationBinaryDirectory = GetApplicationBinaryDirectory()
static

The application directory, where assemblies are deployed. It could be read-only on some platforms.

Definition at line 106 of file Platform.cs.

readonly string SiliconStudio.Core.Platform.ApplicationCacheDirectory = GetApplicationCacheDirectory()
static

The application cache directory, where user can write data that won't be backup.

Definition at line 78 of file Platform.cs.

readonly string SiliconStudio.Core.Platform.ApplicationDataDirectory = GetApplicationDataDirectory()
static

The application data directory, where data is deployed. It could be read-only on some platforms.

Definition at line 84 of file Platform.cs.

readonly string SiliconStudio.Core.Platform.ApplicationExecutablePath = GetApplicationExecutablePath()
static

Definition at line 108 of file Platform.cs.

readonly string SiliconStudio.Core.Platform.ApplicationLocalDirectory = GetApplicationLocalDirectory()
static

The application local directory, where user can write local data (included in backup).

Definition at line 68 of file Platform.cs.

readonly string SiliconStudio.Core.Platform.ApplicationRoamingDirectory = GetApplicationRoamingDirectory()
static

The application roaming directory, where user can write roaming data (included in backup).

Definition at line 73 of file Platform.cs.

string SiliconStudio.Core.Platform.ApplicationTemporaryDirectory = GetApplicationTemporaryDirectory()
static

The Application temporary directory.

Definition at line 63 of file Platform.cs.

readonly bool SiliconStudio.Core.Platform.IsRunningDebugAssembly = GetIsRunningDebugAssembly()
static

Gets a value indicating whether the running assembly is a debug assembly.

Definition at line 53 of file Platform.cs.

Referenced by SiliconStudio.Core.Diagnostics.ConsoleLogListener.OnLog().

readonly bool SiliconStudio.Core.Platform.IsWindowsDesktop = Type == PlatformType.Windows
static

Gets a value indicating whether the running platform is windows desktop.

true if this instance is windows desktop; otherwise, false.

Definition at line 48 of file Platform.cs.

Referenced by SiliconStudio.Paradox.Shaders.Compiler.EffectCompilerCache.Compile(), and SiliconStudio.Paradox.Shaders.Compiler.EffectCompiler.Compile().

string SiliconStudio.Core.Platform.TemporaryDirectory = GetTemporaryDirectory()
static

The system temporary directory.

Definition at line 58 of file Platform.cs.

Property Documentation

string SiliconStudio.Core.Platform.ApplicationDataSubDirectory
staticgetset

The (optional) application data subdirectory. If not null or empty, /data will be mounted on ApplicationDataDirectory/ApplicationDataSubDirectory

This property should not be written after the VirtualFileSystem static initialization. If so, an InvalidOperationExeception will be thrown.

Definition at line 91 of file Platform.cs.

bool SiliconStudio.Core.Platform.IsVirtualFileSystemInitialized
staticgetset

Definition at line 114 of file Platform.cs.


The documentation for this class was generated from the following file: