Class ScriptableRendererFeature | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class ScriptableRendererFeature

    You can add a ScriptableRendererFeature to the ScriptableRenderer. Use this scriptable renderer feature to inject render passes into the renderer.

    Inheritance
    System.Object
    ScriptableRendererFeature
    RenderObjects
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public abstract class ScriptableRendererFeature : ScriptableObject

    Methods

    AddRenderPasses(ScriptableRenderer, ref RenderingData)

    Injects one or multiple ScriptableRenderPass in the renderer.

    Declaration
    public abstract void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
    Parameters
    Type Name Description
    ScriptableRenderer renderer
    RenderingData renderingData

    Rendering state. Use this to setup render passes.

    Create()

    Initializes this feature's resources.

    Declaration
    public abstract void Create()

    See Also

    ScriptableRenderer
    ScriptableRenderPass
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX