Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CommandBuffer.IncrementUpdateCount

Declaration

public void IncrementUpdateCount(Rendering.RenderTargetIdentifier dest);

Parameters

dest Increments the updateCount for this Texture.

Description

Increments the updateCount property of a Texture.

This is useful if the execution of a command buffer mutates a Texture because you can rely on the Texture's updateCount to detect any changes.