文档

Unity Engine

Unity Engine

UnsafeList<T>.ParallelReader

Obsolete. Use UnsafeList<T>.ReadOnly instead.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct UnsafeList<T>.ParallelReader

Remarks

Use UnsafeList<T>.AsParallelReader to create a parallel reader for a list.

Fields

Value

Description

LengthThe number of elements.
PtrThe internal buffer of the list.

Methods

Method

Description

AsReadOnlySpanReturns ReadOnlySpan\<T\> view of this container.
GetUnsafeReadOnlyPtrGet a pointer to the data.