文档

Unity Engine

Unity Engine

NativeList<T>.ParallelWriter

A parallel writer for a NativeList.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public struct NativeList<T>.ParallelWriter

Remarks

Use NativeList<T>.AsParallelWriter to create a parallel writer for a list.

Fields

Value

Description

ListDataThe internal unsafe list.

Properties

Property

Description

PtrThe data of the list.

Methods

Method

Description

AddNoResizeAppends an element to the end of this list.
AddRangeNoResizeCopies elements from a ReadOnlySpan to the end of this list.