GetUnsafeReadOnlyPtr()
Gets an unsafe read-only pointer to the contents of the buffer.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public void* GetUnsafeReadOnlyPtr()
Returns
Type | Description |
|---|---|
| void* | A typed, unsafe pointer to the first element in the buffer. |
Remarks
This function can only be called in unsafe code contexts.