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
GetRangeRW(Int32)
Declaration
public BlockStream.Range*GetRangeRW(int forEachIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
forEachIndex |
|
Returns
ScheduleDispose(JobHandle)
Declaration
public JobHandle ScheduleDispose(JobHandle inputDeps)
Parameters
Type |
Name |
Description |
JobHandle |
inputDeps |
|
Returns
Type |
Description |
JobHandle |
|
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