docs.unity.cn
    Show / Hide Table of Contents

    Struct RenderGraphProfilingScope

    Render Graph Scoped Profiling markers

    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    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()

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021