# GetRenderTextureSupportedMSAASampleCount(RenderTextureDescriptor)

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static int GetRenderTextureSupportedMSAASampleCount(RenderTextureDescriptor desc)
```

### Parameters

**** (\[RenderTextureDescriptor]\(/engine/6000.7/script-reference/unityengine/rendertexturedescriptor)): The [RenderTextureDescriptor](/engine/6000.7/script-reference/unityengine/rendertexturedescriptor.md) to check.

### Returns

| Type                                                       | Description                                                                                                                                                                                                                                                                                             |
| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | If the target platform supports the given MSAA samples count of [RenderTextureDescriptor](/engine/6000.7/script-reference/unityengine/rendertexturedescriptor.md), returns the given MSAA samples count. Otherwise returns a lower fallback MSAA samples count value that the target platform supports. |

### Remarks

Additional Resources: [RenderTextureDescriptor](/engine/6000.7/script-reference/unityengine/rendertexturedescriptor.md)
