CreateFSRUpscale2(CommandBuffer, in FSR2CommandInitializationData)
Creates a FSR2 context.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AMD
- Assembly: UnityEngine.AMDModule
CreateFSRUpscale2(CommandBuffer, FSR2CommandInitializationData)
public FSR2Context CreateFSRUpscale2(CommandBuffer cmd, in FSR2CommandInitializationData initSettings)
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.
A set of initialization settings for FSR2. If you want to change some options in it, then you need to create a new context.
Returns
Type | Description |
|---|---|
| FSR2Context | A FSR2 context. |