SupportsRenderTextureFormat(RenderTextureFormat)
Is render texture format supported?
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool SupportsRenderTextureFormat(RenderTextureFormat format)
Parameters
The format to look up.
Returns
Type | Description |
|---|---|
| bool | True if the format is supported. |
Remarks
Returns if graphics card supports given RenderTextureFormat.
trueAdditional Resources: Render Texture assets, RenderTexture class.