Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnsafeStream(int, AllocatorHandle)

Initializes and returns an instance of UnsafeStream.
Read time 1 minuteLast updated 13 days ago

Definition

public UnsafeStream(int bufferCount, AllocatorManager.AllocatorHandle allocator)

Parameters

bufferCount

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.