Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SystemInfo.SupportsRenderTextureFormat

static function SupportsRenderTextureFormat(format: RenderTextureFormat): bool;
static bool SupportsRenderTextureFormat(RenderTextureFormat format);
static def SupportsRenderTextureFormat(format as RenderTextureFormat) as bool

Description

Is render texture format supported?

Returns true if graphics card supports given RenderTextureFormat.

See Also: Render Texture assets, RenderTexture class.