Struct RenderGraphProfilingScope
Render Graph Scoped Profiling markers
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Syntax
public struct RenderGraphProfilingScope : IDisposableConstructors
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()