文档

Unity Engine

Unity Engine

CreateFeature(CommandBuffer, in FSR2CommandInitializationData)

Creates an FSR2Context object.
阅读时间1 分钟最后更新于 2 小时前

Definition

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

FSR2ContextReturns a Fidelity FX Super Resolution 2.0 context object.