Class ScriptableRendererFeature | Package Manager UI website
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023