GetUnsafePtr()
Gets an unsafe read/write pointer to the contents of the buffer.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public void* GetUnsafePtr()
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.