Struct MemoryRef<T>
A memory reference allows a ref value to be stored in memory and later to be converted back into its ref value.
Namespace: Unity.Kinematica
Assembly: solution.dll
Syntax
public struct MemoryRef<T> where T : struct
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
| Name | Description |
|---|---|
| MemoryRef(ref T) | Constructs a new memory reference from a ref value. |
Properties
| Name | Description |
|---|---|
| IsValid | Determines if the given memory reference is valid or not. |
| Null | Invalid memory reference. |
| Ref | Retrieves the original ref value from the memory reference. |
Methods
| Name | Description |
|---|---|
| Create(ref T) | Constructs a new memory reference from a ref value. |
| Equals(ref T) |