shouldResetHistory
A Boolean property indicating whether to reset history.
Declaration
var shouldResetHistory: Bool { get set }Discussion
Set this property to true to invalidate history, for example when there is a scene cut in your game.
When you set this property to false, you are responsible for ensuring the property prevColorTexture contains frame data corresponding to that in colorTexture during your previous call to encode(commandBuffer:).