| Parameter | Description |
|---|---|
| stream | Outputs the new stream. |
| bufferCount | A list whose length determines the number of buffers in the stream. |
| dependency | A job handle. The new job will depend upon this handle. |
| allocator | The allocator to use. |
JobHandle The handle of the new job.
Creates and schedules a job to allocate a new stream.
The stream can be used on the main thread after completing the returned job or used in other jobs that depend upon the returned job.
Using a job to allocate the buffers can be more efficient, particularly for a stream with many buffers.
| Parameter | Description |
|---|---|
| stream | Outputs the new stream. |
| bufferCount | An array whose value at index 0 determines the number of buffers in the stream. |
| dependency | A job handle. The new job will depend upon this handle. |
| allocator | The allocator to use. |
JobHandle The handle of the new job.
Creates and schedules a job to allocate a new stream.
The stream can be used on the main thread after completing the returned job or used in other jobs that depend upon the returned job.
Allocating the buffers in a job can be more efficient, particularly for a stream with many buffers.