Struct BlockStream
Syntax
public struct BlockStream : IDisposable
Constructors
BlockStream(Int32, UInt32, Allocator)
Declaration
public BlockStream(int foreachCount, uint uniqueBlockStreamId, Allocator allocator = null)
Parameters
Type |
Name |
Description |
System.Int32 |
foreachCount |
|
System.UInt32 |
uniqueBlockStreamId |
|
Allocator |
allocator |
|
Properties
ForEachCount
Declaration
public int ForEachCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsCreated
Declaration
public bool IsCreated { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
ComputeItemCount()
Declaration
public int ComputeItemCount()
Returns
Type |
Description |
System.Int32 |
|
Dispose()
Declaration
Dispose(JobHandle)
Declaration
public JobHandle Dispose(JobHandle inputDeps)
Parameters
Type |
Name |
Description |
JobHandle |
inputDeps |
|
Returns
Type |
Description |
JobHandle |
|
ScheduleConstruct(out BlockStream, NativeArray<Int32>, UInt32, JobHandle, Allocator)
Declaration
public static JobHandle ScheduleConstruct(out BlockStream blockStream, NativeArray<int> lengthFromIndex0, uint uniqueBlockStreamId, JobHandle dependency, Allocator allocator = null)
Parameters
Type |
Name |
Description |
BlockStream |
blockStream |
|
NativeArray<System.Int32> |
lengthFromIndex0 |
|
System.UInt32 |
uniqueBlockStreamId |
|
JobHandle |
dependency |
|
Allocator |
allocator |
|
Returns
Type |
Description |
JobHandle |
|
ScheduleConstruct<T>(out BlockStream, NativeList<T>, UInt32, JobHandle, Allocator)
Declaration
public static JobHandle ScheduleConstruct<T>(out BlockStream blockStream, NativeList<T> forEachCountFromList, uint uniqueBlockStreamId, JobHandle dependency, Allocator allocator = null)
where T : struct
Parameters
Type |
Name |
Description |
BlockStream |
blockStream |
|
NativeList<T> |
forEachCountFromList |
|
System.UInt32 |
uniqueBlockStreamId |
|
JobHandle |
dependency |
|
Allocator |
allocator |
|
Returns
Type |
Description |
JobHandle |
|
Type Parameters
ToNativeArray<T>(Allocator)
Declaration
public NativeArray<T> ToNativeArray<T>(Allocator allocator = null)
where T : struct
Parameters
Type |
Name |
Description |
Allocator |
allocator |
|
Returns
Type |
Description |
NativeArray<T> |
|
Type Parameters