-
-
Notifications
You must be signed in to change notification settings - Fork 911
/
CompilationMode.cs
46 lines (43 loc) · 1.58 KB
/
CompilationMode.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
namespace Stride
{
/// <summary>
/// An enum that describes the compilation mode used to compile a game.
/// </summary>
public enum CompilationMode
{
/// <summary>
/// The game was compiled in debug mode.
/// </summary>
/// <remarks>
/// Impact on compilation on other components:
/// - Shaders are compiled in debug mode with debug information.
/// </remarks>
Debug,
/// <summary>
/// The game was compiled in release mode.
/// </summary>
/// <remarks>
/// Impact on compilation on other components:
/// - Shaders are compiled in optimization level 1 with debug information.
/// </remarks>
Release,
/// <summary>
/// The game was compiled in release mode for app-store (for end-user release)
/// </summary>
/// <remarks>
/// Impact on compilation on other components:
/// - Shaders are compiled in optimization level 2 with <c>no debug</c> information.
/// </remarks>
AppStore,
/// <summary>
/// The game was compiled in testing mode.
/// </summary>
/// <remarks>
/// Impact on compilation on other components:
/// - Shaders are compiled in debug mode with debug information.
/// </remarks>
Testing,
}
}