docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SRPSupport

    Provides URP and HDRP integration for the camera capture subsystem. Manages custom render passes, depth buffer copies, and per-camera request queuing so that CaptureCamera works transparently across render pipelines.

    Inheritance
    object
    SRPSupport
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.SimulationPro
    Assembly: Unity.SimulationPro.Capture.dll
    Syntax
    public class SRPSupport

    Properties

    instance

    The active SRPSupport singleton, created at runtime when a custom render pipeline is detected.

    Declaration
    public static SRPSupport instance { get; protected set; }
    Property Value
    Type Description
    SRPSupport

    Methods

    GetCurrentPipelineRenderingType()

    Get Current Rendering Pipeline type.

    Declaration
    public static RenderingPipelineType GetCurrentPipelineRenderingType()
    Returns
    Type Description
    RenderingPipelineType

    RenderingPipelineType indicating type of current renering pipeline : (URP/HDRP/Built-in)

    QueueCameraRequest(Camera, AsyncRequest<CaptureState>)

    With different rendering pipelines, the moment when you need to capture a camera migh be different. This method will allow for the CaptureCamera class to operate as normal, while allowing the author of the render pipeline to decide when the work get dispatched.

    Declaration
    public void QueueCameraRequest(Camera camera, AsyncRequest<CaptureCamera.CaptureState> request)
    Parameters
    Type Name Description
    Camera camera

    The camera that you wish to queue a request for.

    AsyncRequest<CaptureCamera.CaptureState> request

    The service request payload.

    UsingCustomRenderPipeline()

    Returns true if using a custom render pipeline or false otherwise.

    Declaration
    public static bool UsingCustomRenderPipeline()
    Returns
    Type Description
    bool

    bool

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