docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AllocBuffer

    AllocBuffer(int, Func<RTHandleSystem, int, RTHandle>, int)

    Allocate RT handles for a buffer.

    Declaration
    public void AllocBuffer(int bufferId, Func<RTHandleSystem, int, RTHandle> allocator, int bufferCount)
    Parameters
    Type Name Description
    int bufferId

    The buffer to allocate.

    Func<RTHandleSystem, int, RTHandle> allocator

    The functor to use for allocation.

    int bufferCount

    The number of RT handles for this buffer.

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