docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateTransientBuffer

    CreateTransientBuffer(in BufferDesc)

    Create a new Render Graph Graphics Buffer resource. This Graphics Buffer will only be available for the current pass and will be assumed to be both written and read so users don't need to add explicit read/write declarations.

    Declaration
    public BufferHandle CreateTransientBuffer(in BufferDesc desc)
    Parameters
    Type Name Description
    BufferDesc desc

    Graphics Buffer descriptor.

    Returns
    Type Description
    BufferHandle

    A new transient GraphicsBufferHandle.

    CreateTransientBuffer(in BufferHandle)

    Create a new Render Graph Graphics Buffer resource using the descriptor from another Graphics Buffer. This Graphics Buffer will only be available for the current pass and will be assumed to be both written and read so users don't need to add explicit read/write declarations.

    Declaration
    public BufferHandle CreateTransientBuffer(in BufferHandle graphicsbuffer)
    Parameters
    Type Name Description
    BufferHandle graphicsbuffer

    Graphics Buffer from which the descriptor should be used.

    Returns
    Type Description
    BufferHandle

    A new transient 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)