ReinterpretLoad<U>(int)
Reinterpret and load data starting at underlying index as a different type.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
ReinterpretLoad<T>(int)
public U ReinterpretLoad<U>(int sourceIndex) where U : struct
Parameters
Index in the underlying array where the load should start.
Returns
Type | Description |
|---|---|
| T | The loaded data. |