文档

Unity Engine

Unity Engine

IncrementUpdateCount(RenderTargetIdentifier)

Increments the updateCount property of a Texture.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void IncrementUpdateCount(RenderTargetIdentifier dest)

Parameters

Increments the updateCount for this Texture.

Remarks

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.