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
The RenderTextureDescriptor to check.
Returns
Type | Description |
|---|---|
| int | If 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