Struct RenderGraphProfilingScope
Render Graph Scoped Profiling markers
Implements
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct RenderGraphProfilingScope : IDisposable
Constructors
RenderGraphProfilingScope(RenderGraph, ProfilingSampler)
Profiling Scope constructor
Declaration
public RenderGraphProfilingScope(RenderGraph renderGraph, ProfilingSampler sampler)
Parameters
Type | Name | Description |
---|---|---|
RenderGraph | renderGraph | Render Graph used for this scope. |
ProfilingSampler | sampler | Profiling Sampler to be used for this scope. |
Methods
Dispose()
Dispose pattern implementation
Declaration
public void Dispose()