Version: 2023.2

CommandBuffer.SetFoveatedRenderingMode

切换到手册
public void SetFoveatedRenderingMode (Rendering.FoveatedRenderingMode foveatedRenderingMode);

参数

foveatedRenderingMode The mode to set.

描述

Adds a command to set the mode to use for foveated rendering.

Before using this command, the scriptable render pipeline must call CommandBuffer.ConfigureFoveatedRendering. For compatibility with all device, it is recomended to call this before changing render targets because some devices will not allow changes during a render pass.