docs.unity3d.com
    Show / Hide Table of Contents

    Class SRPSupport

    Inheritance
    Object
    SRPSupport
    Namespace: Unity.Simulation
    Syntax
    public class SRPSupport

    Properties

    instance

    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<CaptureCamera.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 request you are queueing for this camera.

    UsingCustomRenderPipeline()

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

    Declaration
    public static bool UsingCustomRenderPipeline()
    Returns
    Type Description
    Boolean

    bool

    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