文档

Unity Engine

Unity Engine

GetRenderTextureSupportedMSAASampleCount(RenderTextureDescriptor)

Checks if the target platform supports the MSAA samples count in the RenderTextureDescriptor argument.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static int GetRenderTextureSupportedMSAASampleCount(RenderTextureDescriptor desc)

Parameters

Returns

Type

Description

intIf 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.

Remarks

Additional Resources: RenderTextureDescriptor