docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ImportBuffer

    ImportBuffer(GraphicsBuffer, bool)

    Import an external Graphics Buffer to the Render Graph Any pass writing to an imported graphics buffer will be considered having side effects and can't be automatically culled.

    Declaration
    public BufferHandle ImportBuffer(GraphicsBuffer graphicsBuffer, bool forceRelease = false)
    Parameters
    Type Name Description
    GraphicsBuffer graphicsBuffer

    External Graphics Buffer that needs to be imported.

    bool forceRelease

    The imported graphics buffer will be released after usage.

    Returns
    Type Description
    BufferHandle

    A new GraphicsBufferHandle.

    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)