Struct BlobBuilder
Syntax
public struct BlobBuilder : IDisposable
Constructors
BlobBuilder(Allocator, Int32)
Declaration
public BlobBuilder(Allocator allocator, int chunkSize = 65536)
Parameters
Type |
Name |
Description |
Allocator |
allocator |
|
System.Int32 |
chunkSize |
|
Methods
Allocate<T>(Int32, ref BlobArray<T>)
Declaration
public BlobBuilderArray<T> Allocate<T>(int length, ref BlobArray<T> ptr)
where T : struct
Parameters
Type |
Name |
Description |
System.Int32 |
length |
|
BlobArray<T> |
ptr |
|
Returns
Type Parameters
Allocate<T>(ref BlobPtr<T>)
Declaration
public T Allocate<T>(ref BlobPtr<T> ptr)
where T : struct
Parameters
Type |
Name |
Description |
BlobPtr<T> |
ptr |
|
Returns
Type Parameters
ConstructRoot<T>()
Declaration
public T ConstructRoot<T>()
where T : struct
Returns
Type Parameters
CreateBlobAssetReference<T>(Allocator)
Declaration
public BlobAssetReference<T> CreateBlobAssetReference<T>(Allocator allocator)
where T : struct
Parameters
Type |
Name |
Description |
Allocator |
allocator |
|
Returns
Type Parameters
Dispose()
Declaration