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

    Class FullScreenPassRendererFeature

    This renderer feature lets you create single-pass full screen post processing effects without needing to write code.

    Inheritance
    Object
    Object
    ScriptableObject
    ScriptableRendererFeature
    FullScreenPassRendererFeature
    Inherited Members
    ScriptableRendererFeature.isActive
    ScriptableRendererFeature.Create()
    ScriptableRendererFeature.OnCameraPreCull(ScriptableRenderer, CameraData)
    ScriptableRendererFeature.AddRenderPasses(ScriptableRenderer, RenderingData)
    ScriptableRendererFeature.SetupRenderPasses(ScriptableRenderer, RenderingData)
    ScriptableRendererFeature.SetActive(Boolean)
    ScriptableRendererFeature.Dispose()
    ScriptableRendererFeature.Dispose(Boolean)
    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: Global Namespace
    Syntax
    public class FullScreenPassRendererFeature : ScriptableRendererFeature, IDisposable, ISerializationCallbackReceiver

    Fields

    bindDepthStencilAttachment

    Specifies if the active camera's depth-stencil buffer should be bound when rendering the full screen pass. Disabling this will ensure that the material's depth and stencil commands will have no effect (this could also have a slight performance benefit).

    Declaration
    public bool bindDepthStencilAttachment
    Field Value
    Type Description
    Boolean

    fetchColorBuffer

    Specifies whether the assigned material will need to use the current screen contents as an input texture. Disable this to optimize away an extra color copy pass when you know that the assigned material will only need to write on top of or hardware blend with the contents of the active color target.

    Declaration
    public bool fetchColorBuffer
    Field Value
    Type Description
    Boolean

    injectionPoint

    Specifies at which injection point the pass will be rendered.

    Declaration
    public FullScreenPassRendererFeature.InjectionPoint injectionPoint
    Field Value
    Type Description
    FullScreenPassRendererFeature.InjectionPoint

    passIndex

    The shader pass index that should be used when rendering the assigned material.

    Declaration
    public int passIndex
    Field Value
    Type Description
    Int32

    passMaterial

    The material used to render the full screen pass (typically based on the Fullscreen Shader Graph target).

    Declaration
    public Material passMaterial
    Field Value
    Type Description
    Material

    requirements

    A mask of URP textures that the assigned material will need access to. Requesting unused requirements can degrade performance unnecessarily as URP might need to run additional rendering passes to generate them.

    Declaration
    public ScriptableRenderPassInput requirements
    Field Value
    Type Description
    ScriptableRenderPassInput

    Methods

    AddRenderPasses(ScriptableRenderer, ref RenderingData)

    Injects one or multiple ScriptableRenderPass in the renderer.

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

    Renderer used for adding render passes.

    RenderingData renderingData

    Rendering state. Use this to setup render passes.

    Overrides
    ScriptableRendererFeature.AddRenderPasses(ScriptableRenderer, ref RenderingData)

    Create()

    Initializes this feature's resources. This is called every time serialization happens.

    Declaration
    public override void Create()
    Overrides
    ScriptableRendererFeature.Create()

    Dispose(Boolean)

    Called by Dispose(). Override this function to clean up resources in your renderer.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing
    Overrides
    ScriptableRendererFeature.Dispose(Boolean)

    Explicit Interface Implementations

    ISerializationCallbackReceiver.OnAfterDeserialize()

    Declaration
    void ISerializationCallbackReceiver.OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    ISerializationCallbackReceiver.OnBeforeSerialize()

    Declaration
    void ISerializationCallbackReceiver.OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()
    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)