Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetRenderTextureSupportedMSAASampleCount(RenderTextureDescriptor)

Checks if the target platform supports the MSAA samples count in the RenderTextureDescriptor argument.
Read time 1 minuteLast updated 7 days ago

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