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

    Class ListPool<T>

    List Pool.

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

    Type of the objects in the pooled lists.

    Methods

    Get()

    Get a new List

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

    A new List

    Get(out List<T>)

    Get a new list PooledObject.

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

    Output typed List.

    Returns
    Type Description
    ObjectPool.PooledObject<>

    A new List PooledObject.

    Release(List<T>)

    Release an object to the pool.

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

    List to release.

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