Interface AllocatorManager.IAllocator
An allocator with a tryable allocate/free/realloc function pointer.
Namespace: Unity.Collections
Syntax
public interface IAllocator
Properties
AllocatedBytes
Declaration
long AllocatedBytes { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |
BudgetInBytes
Declaration
long BudgetInBytes { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |
Function
Declaration
AllocatorManager.TryFunction Function { get; }
Property Value
| Type | Description |
|---|---|
| AllocatorManager.TryFunction |
Methods
Try(ref AllocatorManager.Block)
Declaration
int Try(ref AllocatorManager.Block block)
Parameters
| Type | Name | Description |
|---|---|---|
| AllocatorManager.Block | block |
Returns
| Type | Description |
|---|---|
| Int32 |