Struct BlobAssetReference<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct BlobAssetReference<T>

    Namespace: Unity.Entities
    Syntax
    public struct BlobAssetReference<T> : IEquatable<BlobAssetReference<T>> where T : struct
    Type Parameters
    Name Description
    T

    Properties

    IsCreated

    Declaration
    public bool IsCreated { get; }
    Property Value
    Type Description
    System.Boolean

    Null

    Declaration
    public static BlobAssetReference<T> Null { get; }
    Property Value
    Type Description
    BlobAssetReference<T>

    Value

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

    Methods

    Create(T)

    Declaration
    public static BlobAssetReference<T> Create(T value)
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    BlobAssetReference<T>

    Create(Byte[])

    Declaration
    public static BlobAssetReference<T> Create(byte[] data)
    Parameters
    Type Name Description
    System.Byte[] data
    Returns
    Type Description
    BlobAssetReference<T>

    Create(Void*, Int32)

    Declaration
    public static BlobAssetReference<T> Create(void *ptr, int length)
    Parameters
    Type Name Description
    System.Void* ptr
    System.Int32 length
    Returns
    Type Description
    BlobAssetReference<T>

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    Equals(BlobAssetReference<T>)

    Declaration
    public bool Equals(BlobAssetReference<T> other)
    Parameters
    Type Name Description
    BlobAssetReference<T> other
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    GetUnsafePtr()

    Declaration
    public void *GetUnsafePtr()
    Returns
    Type Description
    System.Void*

    Release()

    Declaration
    public void Release()

    Operators

    Equality(BlobAssetReference<T>, BlobAssetReference<T>)

    Declaration
    public static bool operator ==(BlobAssetReference<T> lhs, BlobAssetReference<T> rhs)
    Parameters
    Type Name Description
    BlobAssetReference<T> lhs
    BlobAssetReference<T> rhs
    Returns
    Type Description
    System.Boolean

    Inequality(BlobAssetReference<T>, BlobAssetReference<T>)

    Declaration
    public static bool operator !=(BlobAssetReference<T> lhs, BlobAssetReference<T> rhs)
    Parameters
    Type Name Description
    BlobAssetReference<T> lhs
    BlobAssetReference<T> rhs
    Returns
    Type Description
    System.Boolean
    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