ReadArrayElementBoundsChecked<T>(void*, int, int)
Reads an element from a buffer after bounds checking.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static T ReadArrayElementBoundsChecked<T>(void* source, int index, int capacity) where T : unmanaged
Parameters
Returns
Type | Description |
|---|---|
| T | The element read from the buffer. |