CreateFeature(CommandBuffer, in FSR2CommandInitializationData)
Creates an FSR2Context object.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AMD
- Assembly: UnityEngine.AMDModule
CreateFeature(CommandBuffer, FSR2CommandInitializationData)
public FSR2Context CreateFeature(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.
Initial settings structure for the FSR2 feature.
Returns
Type | Description |
|---|---|
| FSR2Context | Returns a Fidelity FX Super Resolution 2.0 context object. |