기술 자료

Unity Engine

Unity Engine

GetRenderTextureSupportedMSAASampleCount(RenderTextureDescriptor)

Checks if the target platform supports the MSAA samples count in the RenderTextureDescriptor argument.
읽는 시간 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