docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate CaptureCamera.ReadbackCompletionDelegate

    Invoked when a request has completed reading back data for a channel.

    Namespace: Unity.SimulationPro
    Assembly: Unity.SimulationPro.Capture.dll
    Syntax
    public delegate void CaptureCamera.ReadbackCompletionDelegate(AsyncRequest<CaptureCamera.CaptureState> request, CaptureCamera.Channel channel, RenderTexture rt, byte[] data)
    Parameters
    Type Name Description
    AsyncRequest<CaptureCamera.CaptureState> request

    The asynchronous capture request that produced this readback.

    CaptureCamera.Channel channel

    The image channel (color, depth, normal, or motion) that was read back.

    RenderTexture rt

    The RenderTexture from which the data was read.

    byte[] data

    The raw pixel bytes read back from the GPU, or null if the readback failed.

    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)