Helper class that provides information about the target platform.
More...
|
static readonly BasePlatform | BasePlatform = Platform.ToBasePlatform() |
| The base platform of the target runtime. More...
|
|
static readonly bool | HasJit = BasePlatform.HasJit() |
| True if the base platform supports JIT compilation; otherwise false. More...
|
|
static readonly bool | NoJit = !HasJit |
| True if the base platform does not support JIT compilation; otherwise false. More...
|
|
static readonly RuntimePlatform | Platform = Application.platform |
| The target runtime platform. More...
|
|
Helper class that provides information about the target platform.
readonly BasePlatform Smooth.Platform.Runtime.BasePlatform = Platform.ToBasePlatform() |
|
static |
The base platform of the target runtime.
readonly bool Smooth.Platform.Runtime.HasJit = BasePlatform.HasJit() |
|
static |
True if the base platform supports JIT compilation; otherwise false.
readonly bool Smooth.Platform.Runtime.NoJit = !HasJit |
|
static |
True if the base platform does not support JIT compilation; otherwise false.
readonly RuntimePlatform Smooth.Platform.Runtime.Platform = Application.platform |
|
static |
The target runtime platform.
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Util Scripts/SmoothFoundations/Platform/Runtime.cs