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

    Method GetOrCreateUnsafe

    GetOrCreateUnsafe(UInt32, Int64, Int64)

    Creates a shared static data unsafely for the specified context and sub-context (usable from both C# and HPC#).

    Declaration
    public static SharedStatic<T> GetOrCreateUnsafe(uint alignment, long hashCode, long subHashCode)
    Parameters
    Type Name Description
    UInt32 alignment

    The alignment (specified in bytes).

    Int64 hashCode

    The 64-bit hashcode for the shared-static.

    Int64 subHashCode

    The 64-bit sub-hashcode for the shared-static.

    Returns
    Type Description
    SharedStatic<T>

    A newly created or previously cached shared-static for the hashcodes provided.

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