{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method CompareHashes | High Definition RP | 6.5.3-preview
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Method CompareHashes

    CompareHashes<TOldValue, TOldGetter, TNewValue, TNewGetter>(int, void*, int, void*, int*, int*, out int, out int)

    Compare hashes of two collections and provide a list of indices removeIndices to remove in oldHashes and a list of indices addIndices to add in newHashes.

    Assumes that newHashes and oldHashes are sorted.

    선언
    public static int CompareHashes<TOldValue, TOldGetter, TNewValue, TNewGetter>(int oldHashCount, void* oldHashes, int newHashCount, void* newHashes, int* addIndices, int* removeIndices, out int addCount, out int remCount) where TOldValue : struct where TOldGetter : struct, CoreUnsafeUtils.IKeyGetter<TOldValue, Hash128> where TNewValue : struct where TNewGetter : struct, CoreUnsafeUtils.IKeyGetter<TNewValue, Hash128>
    파라미터
    타입 이름 설명
    int oldHashCount

    Number of hashes in oldHashes.

    void* oldHashes

    Previous hashes to compare.

    int newHashCount

    Number of hashes in newHashes.

    void* newHashes

    New hashes to compare.

    int* addIndices

    Indices of element to add in newHashes will be written here.

    int* removeIndices

    Indices of element to remove in oldHashes will be written here.

    int addCount

    Number of elements to add will be written here.

    int remCount

    Number of elements to remove will be written here.

    반환
    타입 설명
    int

    The number of operation to perform (

    addCount + remCount
    )
    타입 파라미터
    이름 설명
    TOldValue
    TOldGetter
    TNewValue
    TNewGetter

    CompareHashes(int, Hash128*, int, Hash128*, int*, int*, out int, out int)

    선언
    public static int CompareHashes(int oldHashCount, Hash128* oldHashes, int newHashCount, Hash128* newHashes, int* addIndices, int* removeIndices, out int addCount, out int remCount)
    파라미터
    타입 이름 설명
    int oldHashCount
    Hash128* oldHashes
    int newHashCount
    Hash128* newHashes
    int* addIndices
    int* removeIndices
    int addCount
    int remCount
    반환
    타입 설명
    int
    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)