CreateFSRUpscale4(CommandBuffer, in FSRUpscalerCommandInitializationData)
Creates a FSR4 context.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AMD
- Assembly: UnityEngine.AMDModule
CreateFSRUpscale4(CommandBuffer, FSRUpscalerCommandInitializationData)
public FSRUpscalerContext CreateFSRUpscale4(CommandBuffer cmd, in FSRUpscalerCommandInitializationData 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 FSR4. If you want to change some options in it, then you need to create a new context.
Returns
Type | Description |
|---|---|
| FSRUpscalerContext | A FSR4 context. |