Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ProfilingKeys.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core.Diagnostics;
4 
5 namespace SiliconStudio.Paradox.Effects
6 {
7  /// <summary>
8  /// Various <see cref="ProfilingKey"/> used to measure performance across some part of the effect system.
9  /// </summary>
10  public class ProfilingKeys
11  {
12  public static readonly ProfilingKey Engine = new ProfilingKey("Engine");
13 
14  public static readonly ProfilingKey ModelRenderProcessor = new ProfilingKey(Engine, "ModelRenderer");
15 
16  public static readonly ProfilingKey PrepareMesh = new ProfilingKey(ModelRenderProcessor, "PrepareMesh");
17 
18  public static readonly ProfilingKey RenderMesh = new ProfilingKey(ModelRenderProcessor, "RenderMesh");
19 
20  public static readonly ProfilingKey AnimationProcessor = new ProfilingKey(Engine, "AnimationProcessor");
21  }
22 }
A key to identify a specific profile.
Definition: ProfilingKey.cs:11
Various ProfilingKey used to measure performance across some part of the effect system.