docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraCaptureBridge

    Bridge class for camera captures.

    Inheritance
    object
    CameraCaptureBridge
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public static class CameraCaptureBridge

    Properties

    enabled

    Enable camera capture.

    Declaration
    public static bool enabled { get; set; }
    Property Value
    Type Description
    bool

    Methods

    AddCaptureAction(Camera, Action<RenderTargetIdentifier, CommandBuffer>)

    Adds actions for camera capture

    Declaration
    public static void AddCaptureAction(Camera camera, Action<RenderTargetIdentifier, CommandBuffer> action)
    Parameters
    Type Name Description
    Camera camera

    The camera to add actions for

    Action<RenderTargetIdentifier, CommandBuffer> action

    The action to add

    GetCaptureActions(Camera)

    Provides the set actions to the renderer to be triggered at the end of the render loop for camera capture

    Declaration
    public static IEnumerator<Action<RenderTargetIdentifier, CommandBuffer>> GetCaptureActions(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    The camera to get actions for

    Returns
    Type Description
    IEnumerator<Action<RenderTargetIdentifier, CommandBuffer>>

    Enumeration of actions

    RemoveCaptureAction(Camera, Action<RenderTargetIdentifier, CommandBuffer>)

    Removes actions for camera capture

    Declaration
    public static void RemoveCaptureAction(Camera camera, Action<RenderTargetIdentifier, CommandBuffer> action)
    Parameters
    Type Name Description
    Camera camera

    The camera to remove actions for

    Action<RenderTargetIdentifier, CommandBuffer> action

    The action to remove

    In This Article
    Back to top
    Copyright © 2024 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)