示例#1
0
 /// <summary>
 /// Profiling Scope constructor
 /// </summary>
 /// <param name="sampler">Profiling Sampler to be used for this scope.</param>
 public RenderGraphProfilingScope(RenderGraph renderGraph, ProfilingSampler sampler)
 {
     m_RenderGraph = renderGraph;
     m_Sampler     = sampler;
     m_Disposed    = false;
     renderGraph.BeginProfilingSampler(sampler);
 }