Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

Graphics.ClearRandomWriteTargets

public static void ClearRandomWriteTargets();

Description

Clear random write targets for Shader Model 5.0 level pixel shaders.

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