| Parameter | Description |
|---|---|
| allocator | The type of memory to allocate. Unless the asset has a very short life span, use Allocator.Persistent. |
BlobAssetReference<T> Returns a reference to the blob asset in unmanaged memory.
Completes construction of the blob asset and returns a reference to the asset in unmanaged memory.
Use the BlobAssetReference<T0> to access the blob asset. When the asset is no longer needed, callBlobAssetReference<T0>.Dispose to destroy the blob asset and free its allocated memory.