GetRenderTextureSupportedMSAASampleCount(RenderTextureDescriptor)
Checks if the target platform supports the MSAA samples count in the RenderTextureDescriptor argument.
阅读时间1 分钟最后更新于 1 个月前
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