Version: 2021.2

SystemInfo.GetRenderTextureSupportedMSAASampleCount

切换到手册
public static int GetRenderTextureSupportedMSAASampleCount (RenderTextureDescriptor desc);

参数

desc The RenderTextureDescriptor to check.

返回

int If the target platform supports the given MSAA samples count of RenderTextureDescriptor, returns the given MSAA samples count. Otherwise returns a lower fallback MSAA samples count value that the target platform supports.

描述

Checks if the target platform supports the MSAA samples count in the RenderTextureDescriptor argument.