Documentation

Unity Engine

Unity Engine

Count()

Returns the total number of items in the buffers of this stream.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int Count()

Returns

Type

Description

intThe total number of items in the buffers of this stream.

Remarks

Each NativeStream.Writer.Write and NativeStream.Writer.Allocate call increments this number.