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.

RenderTexture.Release

Release(): void;
void Release();
def Release() as void

Description

Releases the RenderTexture.

This function releases the hardware resources used by the render texture. The texture itself is not destroyed, and will be automatically created again when being used.

See Also: Create, IsCreated functions.