UnsafeStream(int, AllocatorHandle)
Initializes and returns an instance of UnsafeStream.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Constructor
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public UnsafeStream(int bufferCount, AllocatorManager.AllocatorHandle allocator)
Parameters
The number of buffers to give the stream. You usually want one buffer for each thread that will read or write the stream.
The allocator to use.