# GetRenderTextureSupportedMSAASampleCount(RenderTextureDescriptor)

> This has the same functionality as SystemInfo.GetRenderTextureSupportedMSAASampleCount and also mimics platform-specific behavior in the Unity Editor.

## Definition

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

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

### Parameters

**** (\[RenderTextureDescriptor]\(/engine/6000.5/script-reference/unityengine/rendertexturedescriptor)):&#x20;

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |
