Struct NativeStream.Writer | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Struct NativeStream.Writer

    Namespace: Unity.Collections
    Syntax
    public struct Writer

    Properties

    ForEachCount

    Declaration
    public int ForEachCount { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Allocate(Int32)

    Declaration
    public byte *Allocate(int size)
    Parameters
    Type Name Description
    System.Int32 size
    Returns
    Type Description
    System.Byte*

    Allocate<T>()

    Declaration
    public T Allocate<T>()
        where T : struct
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    BeginForEachIndex(Int32)

    Declaration
    public void BeginForEachIndex(int foreachIndex)
    Parameters
    Type Name Description
    System.Int32 foreachIndex

    EndForEachIndex()

    Declaration
    public void EndForEachIndex()

    PatchMinMaxRange(Int32)

    Declaration
    public void PatchMinMaxRange(int foreEachIndex)
    Parameters
    Type Name Description
    System.Int32 foreEachIndex

    Write<T>(T)

    Declaration
    public void Write<T>(T value)
        where T : struct
    Parameters
    Type Name Description
    T value
    Type Parameters
    Name Description
    T

    Extension Methods

    JobNativeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobNativeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX