Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

SystemInfo.supportsMultisampledShaderResolve

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static bool supportsMultisampledShaderResolve;

Description

A Boolean that indicates whether the final sub pass of a multi-sampled native render pass can write to a single-sampled output attachment.

Returns true if the final sub pass can write to a single-sampled output attachment. Otherwise returns false.

On platforms supporting multi-sampled shader resolve, the final sub pass of a render pass can be used to handle the resolve operation inside a shader, allowing extra processing on the resolved image without having to write to system memory first.

If this property is true, the final sub pass doesn't have the usual restriction that native render pass attachments must have the same MSAA samples.