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.

Graphics.ClearRandomWriteTargets

static function ClearRandomWriteTargets(): void;
static void ClearRandomWriteTargets();
static def ClearRandomWriteTargets() as void

Description

Clear random write targets for DX11 pixel shaders.

This function clears any "random write" targets that were previously set with SetRandomWriteTarget.