docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AllocateTargetTexturesIfRequired

    AllocateTargetTexturesIfRequired(ref List<RTHandle>)

    Allocate texture if required.

    Declaration
    public void AllocateTargetTexturesIfRequired(ref List<RTHandle> textures)
    Parameters
    Type Name Description
    List<RTHandle> textures

    A buffer of texture ready to use.

    AllocateTargetTexturesIfRequired(ref List<RTHandle>, ref List<RTHandle>)

    Allocate texture if required.

    Declaration
    public void AllocateTargetTexturesIfRequired(ref List<RTHandle> textures, ref List<RTHandle> customPassTextures)
    Parameters
    Type Name Description
    List<RTHandle> textures

    A buffer of textures ready to use.

    List<RTHandle> customPassTextures

    A buffer of textures ready to use for custom pass AOVs.

    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)