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 |