BeginForEachIndex(int)
Readies this reader to read a particular buffer of the stream.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public int BeginForEachIndex(int foreachIndex)
Parameters
The index of the buffer to read.
Returns
Type | Description |
|---|---|
| int | The number of elements left to read from the buffer. |
Remarks
Must be called before using this reader. For an individual reader, call this method only once.
When done using this reader, you must call NativeStream.Reader.EndForEachIndex.