{}!Google Tag Manager end}} Class ScriptableRendererData | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    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.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    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

    Specifies whether the renderer should use Native Render Pass.

    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()

    This function is called when the object becomes enabled and active.

    Declaration
    protected virtual void OnEnable()

    OnValidate()

    Editor-only function that Unity calls when the script is loaded or a value changes in the Inspector.

    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()
    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)