{!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 Begin | Entities Graphics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Begin

    Begin(int, int, int)

    Begins a new upload frame and returns a new ThreadedSparseUploader that is valid until the next call to SparseUploader.EndAndCommit.

    Declaration
    public ThreadedSparseUploader Begin(int maxDataSizeInBytes, int biggestDataUpload, int maxOperationCount)
    Parameters
    Type Name Description
    int maxDataSizeInBytes

    An upper bound of total data size that you want to upload this frame.

    int biggestDataUpload

    The size of the largest upload operation that will occur.

    int maxOperationCount

    An upper bound of the total number of upload operations that will occur this frame.

    Returns
    Type Description
    ThreadedSparseUploader

    Returns a new ThreadedSparseUploader that must be passed to SparseUploader.EndAndCommit later.

    Remarks

    You must follow this method with a call to SparseUploader.EndAndCommit later in the frame. You must also pass the returned value from a Begin method to the next SparseUploader.EndAndCommit.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)