docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CopyToFastMemory

    CopyToFastMemory(CommandBuffer, float, FastMemoryFlags)

    Switch the render target to fast memory on platform that have it and copies the content.

    Declaration
    public void CopyToFastMemory(CommandBuffer cmd, float residencyFraction = 1, FastMemoryFlags flags = FastMemoryFlags.SpillTop)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command buffer used for rendering.

    float residencyFraction

    How much of the render target is to be switched into fast memory (between 0 and 1).

    FastMemoryFlags flags

    Flag to determine what parts of the render target is spilled if not fully resident in fast memory.

    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)