docs.unity3d.com
    目次を表示する/隠す

    Class HashSetPool<T>

    HashSet Pool.

    Inheritance
    Object
    HashSetPool<T>
    Namespace: UnityEngine.Rendering
    Syntax
    public static class HashSetPool<T> : object
    Type Parameters
    Name Description
    T

    Type of the objects in the pooled hashsets.

    Methods

    Get()

    Get a new HashSet

    Declaration
    public static HashSet<T> Get()
    Returns
    Type Description
    HashSet<T>

    A new HashSet

    Get(out HashSet<T>)

    Get a new list PooledObject.

    Declaration
    public static ObjectPool<HashSet<T>>.PooledObject Get(out HashSet<T> value)
    Parameters
    Type Name Description
    HashSet<T> value

    Output typed HashSet.

    Returns
    Type Description
    ObjectPool.PooledObject<>

    A new HashSet PooledObject.

    Release(HashSet<T>)

    Release an object to the pool.

    Declaration
    public static void Release(HashSet<T> toRelease)
    Parameters
    Type Name Description
    HashSet<T> toRelease

    hashSet to release.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)