SendData<TAudioContext, T>(TAudioContext, in T)
Send data from ProcessorInstance.IRealtime to ProcessorInstance.IControl<TRealtime> or vice versa.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
SendData<T, U>(T, T)
public readonly bool SendData<TAudioContext, T>(TAudioContext context, in T data) where TAudioContext : unmanaged, ProcessorInstance.IContext where T : unmanaged
Parameters
Returns
Type | Description |
|---|---|
| bool | True if this operation is currently possible. This can fail for instance when the ProcessorInstance is being in process of being disposed through DestroyProcessor, so you must guard against this if you are transferring resources. |