CreateFeature(CommandBuffer, in FSR2CommandInitializationData)
Creates an FSR2Context object.
阅读时间1 分钟最后更新于 2 小时前
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. |