Struct BlockStream | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct BlockStream

    Namespace: Unity.Collections
    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
    public void Dispose()

    GetRangeRW(Int32)

    Declaration
    public BlockStream.Range*GetRangeRW(int forEachIndex)
    Parameters
    Type Name Description
    System.Int32 forEachIndex
    Returns
    Type Description
    BlockStream.Range*

    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
    Name Description
    T
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023