ExecuteFSR2(CommandBuffer, FSR2Context, in FSR2TextureTable)
Records the execution of the FSR2 pass into a rendering command buffer. This call does not execute the command buffer, it only appends custom commands into it.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AMD
- Assembly: UnityEngine.AMDModule
ExecuteFSR2(CommandBuffer, FSR2Context, FSR2TextureTable)
public void ExecuteFSR2(CommandBuffer cmd, FSR2Context fsr2Context, in FSR2TextureTable textures)
Parameters
The rendering command buffer to record commands into. This call does not execute the command buffer. You must execute the command buffer yourself at any time after this call.
The source feature context to execute. You must set the parameters for this command in the FSR2Context object prior to this call.
The collection of textures represented by FSR2TextureTable, where inputs/outputs are specified for the FSR 2.0 pass to execute.