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.  |