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

    Struct BlobBuilder

    Namespace: Unity.Entities
    Syntax
    public struct BlobBuilder : IDisposable

    Constructors

    BlobBuilder(Allocator, Int32)

    Declaration
    public BlobBuilder(Allocator allocator, int chunkSize = 65536)
    Parameters
    Type Name Description
    Allocator allocator
    System.Int32 chunkSize

    Methods

    Allocate<T>(Int32, ref BlobArray<T>)

    Declaration
    public BlobBuilderArray<T> Allocate<T>(int length, ref BlobArray<T> ptr)
        where T : struct
    Parameters
    Type Name Description
    System.Int32 length
    BlobArray<T> ptr
    Returns
    Type Description
    BlobBuilderArray<T>
    Type Parameters
    Name Description
    T

    Allocate<T>(ref BlobPtr<T>)

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

    ConstructRoot<T>()

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

    CreateBlobAssetReference<T>(Allocator)

    Declaration
    public BlobAssetReference<T> CreateBlobAssetReference<T>(Allocator allocator)
        where T : struct
    Parameters
    Type Name Description
    Allocator allocator
    Returns
    Type Description
    BlobAssetReference<T>
    Type Parameters
    Name Description
    T

    Dispose()

    Declaration
    public void Dispose()
    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