docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UseColorBuffer

    UseColorBuffer(in TextureHandle, int)

    Specify that the pass will use a Texture resource as a color render target. This has the same effect as WriteTexture and also automatically sets the Texture to use as a render target.

    Declaration
    public TextureHandle UseColorBuffer(in TextureHandle input, int index)
    Parameters
    Type Name Description
    TextureHandle input

    The Texture resource to use as a color render target.

    int index

    Index for multiple render target usage.

    Returns
    Type Description
    TextureHandle

    An updated resource handle to the input resource.

    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)