docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetScratchpadAllocator

    GetScratchpadAllocator()

    Retrieve the ScratchpadAllocator from the Scratchpad with index corresponding to the running thread index.

    Declaration
    public ref ScratchpadAllocator GetScratchpadAllocator()
    Returns
    Type Description
    ScratchpadAllocator

    Returns reference to the ScratchpadAllocator for the running thread.

    GetScratchpadAllocator(int)

    Retrieve the ScratchpadAllocator from the Scratchpad with index corresponding to the running thread index.

    Declaration
    public ref ScratchpadAllocator GetScratchpadAllocator(int threadIndex)
    Parameters
    Type Name Description
    int threadIndex

    Index of the running thread.

    Returns
    Type Description
    ScratchpadAllocator

    Returns reference to the ScratchpadAllocator for the running thread.

    In This Article
    Back to top
    Copyright © 2024 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)