Method CreateArchetypeChunkArrayAsync
CreateArchetypeChunkArrayAsync(AllocatorHandle, out JobHandle)
Obsolete. Use ToArchetypeChunkListAsync(AllocatorHandle, out JobHandle) instead.
Declaration
[Obsolete("This method is not actually asynchronous. Use ToArchetypeChunkListAsync() instead. (RemovedAfter Entities 1.0)")]
public NativeArray<ArchetypeChunk> CreateArchetypeChunkArrayAsync(AllocatorManager.AllocatorHandle allocator, out JobHandle outJobHandle)
Parameters
Type | Name | Description |
---|---|---|
AllocatorManager.AllocatorHandle | allocator | Allocator to use for the array. |
JobHandle | outJobHandle | An |
Returns
Type | Description |
---|---|
NativeArray<ArchetypeChunk> | NativeArray of all the chunks containing entities matching this query. |
Remarks
Obsolete. Use ToArchetypeChunkListAsync(AllocatorHandle, out JobHandle) instead.
Use outJobHandle
as a dependency for jobs that use the returned chunk array.