docs.unity3d.com
    Show / Hide Table of Contents

    Class ScriptableRendererData

    Class ScriptableRendererData contains resources for a ScriptableRenderer. ScriptableRenderer

    Inheritance
    Object
    Object
    ScriptableObject
    ScriptableRendererData
    Renderer2DData
    UniversalRendererData
    Inherited Members
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public abstract class ScriptableRendererData : ScriptableObject

    Fields

    debugShaders

    Container for shader resources used by Rendering Debugger.

    Declaration
    public ScriptableRendererData.DebugShaderResources debugShaders
    Field Value
    Type Description
    ScriptableRendererData.DebugShaderResources

    Properties

    rendererFeatures

    List of additional render pass features for this renderer.

    Declaration
    public List<ScriptableRendererFeature> rendererFeatures { get; }
    Property Value
    Type Description
    List<ScriptableRendererFeature>

    useNativeRenderPass

    Declaration
    public bool useNativeRenderPass { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    Create()

    Creates the instance of the ScriptableRenderer.

    Declaration
    protected abstract ScriptableRenderer Create()
    Returns
    Type Description
    ScriptableRenderer

    The instance of ScriptableRenderer

    OnEnable()

    Declaration
    protected virtual void OnEnable()

    OnValidate()

    Declaration
    protected virtual void OnValidate()

    SetDirty()

    Use SetDirty when changing seeings in the ScriptableRendererData. It will rebuild the render passes with the new data.

    Declaration
    public void SetDirty()
    Back to top
    Terms of use
    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