Click or drag to resize
ConvolveMatrixEffectInvalidateSourceRectangle Method
Notifies the effect that one of its source images has changed.

Namespace:  Microsoft.Graphics.Canvas.Effects
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void InvalidateSourceRectangle(
	ICanvasResourceCreatorWithDpi resourceCreator,
	uint sourceIndex,
	Rect invalidRectangle
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreatorWithDpi
sourceIndex
Type: SystemUInt32
invalidRectangle
Type: Windows.FoundationRect

Implements

ICanvasEffectInvalidateSourceRectangle(ICanvasResourceCreatorWithDpi, UInt32, Rect)
Remarks

When CacheOutput is enabled, this method can be used to invalidate the cache.

It is also used to populate a list of invalid regions which are propagated through the effect graph, mapped from source to output coordinate systems, and can then be queried by GetInvalidRectangles(ICanvasResourceCreatorWithDpi).

See Also