docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CustomPassContext

    Context used when executing custom passes

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public struct CustomPassContext

    Fields

    Name Description
    cameraColorBuffer

    Camera color buffer.

    cameraCullingResults

    Camera culling results, not modified by the custom pass culling.

    cameraDepthBuffer

    Camera depth buffer.

    cameraMotionVectorsBuffer

    Camera motion vectors buffer.

    cameraNormalBuffer

    Camera normal buffer.

    cmd

    Command Buffer, used to enqueue graphic commands to the GPU.

    cullingResults

    Result of the culling either of the camera or the custom pass if AggregateCullingParameters is used.

    customColorBuffer

    Lazy handle to the custom color buffer, not allocated if not used.

    customDepthBuffer

    Lazy handle to the custom depth buffer, not allocated if not used.

    hdCamera

    HdCamera, HDRP data related to the rendering camera. Use the camera property to access the Camera class.

    propertyBlock

    Material Property Block, unique for each custom pass instance.

    renderContext

    Scriptable Render Context, used for any SRP related operations.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)