This version of Unity is unsupported.

CommandBuffer.SetFoveatedRenderingMode

Declaration

public void SetFoveatedRenderingMode(Rendering.FoveatedRenderingMode foveatedRenderingMode);

Parameters

foveatedRenderingMode The mode to set.

Description

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.