Documentation

Unity Engine

Unity Engine

SupportsRenderTextureFormat(RenderTextureFormat)

Is render texture format supported?
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool SupportsRenderTextureFormat(RenderTextureFormat format)

Parameters

The format to look up.

Returns

Type

Description

boolTrue if the format is supported.

Remarks

Returns true if graphics card supports given RenderTextureFormat.
Additional Resources: Render Texture assets, RenderTexture class.