Struct AllocatorManager.AllocatorInstallation<T> | Collections | 0.7.1-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct AllocatorManager.AllocatorInstallation<T>

    Mapping between a Block, AllocatorHandle, and an IAllocator.

    Namespace: Unity.Collections
    Syntax
    public struct AllocatorInstallation<T> : IDisposable where T : struct, AllocatorManager.IAllocator, IDisposable
    Type Parameters
    Name Description
    T

    Type of allocator to install functions for.

    Constructors

    AllocatorInstallation(AllocatorManager.AllocatorHandle)

    Creates a Block for an allocator, associates that allocator with an AllocatorHandle, then installs the allocator's function into the function table.

    Declaration
    public AllocatorInstallation(AllocatorManager.AllocatorHandle Handle)
    Parameters
    Type Name Description
    AllocatorManager.AllocatorHandle Handle

    Index into function table at which to install this allocator's function pointer.

    Fields

    m_handle

    Declaration
    public AllocatorManager.AllocatorHandle m_handle
    Field Value
    Type Description
    AllocatorManager.AllocatorHandle

    MBlock

    Declaration
    public AllocatorManager.Block MBlock
    Field Value
    Type Description
    AllocatorManager.Block

    Properties

    Allocator

    Declaration
    public T Allocator { get; }
    Property Value
    Type Description
    T

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Extension Methods

    JobNativeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobNativeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    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