UnsafeUtilityExtensions
Provides utility methods for unsafe, untyped buffers.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static class UnsafeUtilityExtensions
Static Methods
Method | Description |
|---|---|
| AddressOf | Returns the address of a read-only reference. |
| AsRef | Returns a read-write reference from a read-only reference. Useful when you want to pass an |
| ReadArrayElementBoundsChecked | Reads an element from a buffer after bounds checking. |
| WriteArrayElementBoundsChecked | Writes an element to a buffer after bounds checking. |