docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCustomBuffers

    GetCustomBuffers(out RTHandle, out RTHandle)

    Get the current custom buffers

    Declaration
    [Obsolete("GetCustomBuffers is obsolete and will be removed in the future. All custom buffers are now avaliable directly in the CustomPassContext in parameter of the Execute function")]
    protected void GetCustomBuffers(out RTHandle colorBuffer, out RTHandle depthBuffer)
    Parameters
    Type Name Description
    RTHandle colorBuffer

    outputs the custom color buffer

    RTHandle depthBuffer

    outputs the custom depth 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)