SupportsRenderTextureFormat(RenderTextureFormat)
Is render texture format supported?
Read time 1 minuteLast updated 6 days ago
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 true if graphics card supports given RenderTextureFormat.
Additional Resources: Render Texture assets, RenderTexture class.